We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 665b614 commit cbf43e9Copy full SHA for cbf43e9
README.md
@@ -529,8 +529,7 @@ import { request } from './api'
529
describe('testing timeouts', () => {
530
it('resolves with function and timeout', async () => {
531
fetch.mockResponseOnce(
532
- () => new Promise(resolve => setTimeout(() => resolve({ body: 'ok' }))),
533
- 100
+ () => new Promise(resolve => setTimeout(() => resolve({ body: 'ok' }), 100))
534
)
535
try {
536
const response = await request()
0 commit comments