Skip to content

Commit 000ce54

Browse files
committed
fix tests
1 parent 426a553 commit 000ce54

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/unit/middleware/withRateLimit.spec.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ const createContext = async ({ authToken } = {}) => ({
6969
authToken: authToken ?? null,
7070
ucantoClient: {
7171
record: strictStub(sandbox, 'record'),
72-
getTokenMetadata: strictStub(sandbox, 'getTokenMetadata')
72+
getTokenMetadata: strictStub(sandbox, 'getTokenMetadata').returns(null)
7373
}
7474
})
7575

0 commit comments

Comments
 (0)