Skip to content

Commit

Permalink
lint
Browse files Browse the repository at this point in the history
  • Loading branch information
Antoni Kepinski committed Sep 5, 2020
1 parent 7d190b4 commit 38839c5
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/main.js
Expand Up @@ -2000,7 +2000,9 @@ describe('node-fetch', () => {
it('should reject if attempt to accumulate body stream throws', () => {
const res = new Response(stream.Readable.from((async function * () {
yield Buffer.from('tada');
await new Promise(resolve => setTimeout(resolve, 200));
await new Promise(resolve => {
setTimeout(resolve, 200);
});
yield {tada: 'yes'};
})()));

Expand Down

0 comments on commit 38839c5

Please sign in to comment.