We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0c6f090 commit 2a8db2aCopy full SHA for 2a8db2a
nodejs/tests/api.spec.ts
@@ -43,7 +43,7 @@ test('should throw axios error object if set wrapResponseErrors to false', async
43
})
44
45
server.use(
46
- rest.get('https://api.hackmd.io/v1/me', (req, res, ctx) => {
+ rest.get('https://api.hackmd.io/v1/me', (req: any, res: (arg0: any) => any, ctx: { status: (arg0: number) => any }) => {
47
return res(ctx.status(429))
48
}),
49
)
0 commit comments