Skip to content

Commit

Permalink
chore; type addition
Browse files Browse the repository at this point in the history
  • Loading branch information
Taombawkry committed Aug 8, 2024
1 parent 0c6f090 commit 2a8db2a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion nodejs/tests/api.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ test('should throw axios error object if set wrapResponseErrors to false', async
})

server.use(
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 }) => {
return res(ctx.status(429))
}),
)
Expand Down

0 comments on commit 2a8db2a

Please sign in to comment.