Skip to content

Commit 38839c5

Browse files
author
Antoni Kepinski
committed
lint
1 parent 7d190b4 commit 38839c5

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

test/main.js

+3-1
Original file line numberDiff line numberDiff line change
@@ -2000,7 +2000,9 @@ describe('node-fetch', () => {
20002000
it('should reject if attempt to accumulate body stream throws', () => {
20012001
const res = new Response(stream.Readable.from((async function * () {
20022002
yield Buffer.from('tada');
2003-
await new Promise(resolve => setTimeout(resolve, 200));
2003+
await new Promise(resolve => {
2004+
setTimeout(resolve, 200);
2005+
});
20042006
yield {tada: 'yes'};
20052007
})()));
20062008

0 commit comments

Comments
 (0)