Skip to content

Commit 2a8db2a

Browse files
committed
chore; type addition
1 parent 0c6f090 commit 2a8db2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nodejs/tests/api.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,7 @@ test('should throw axios error object if set wrapResponseErrors to false', async
4343
})
4444

4545
server.use(
46-
rest.get('https://api.hackmd.io/v1/me', (req, res, ctx) => {
46+
rest.get('https://api.hackmd.io/v1/me', (req: any, res: (arg0: any) => any, ctx: { status: (arg0: number) => any }) => {
4747
return res(ctx.status(429))
4848
}),
4949
)

0 commit comments

Comments
 (0)