Skip to content

Commit

Permalink
fix ci failure (#1286)
Browse files Browse the repository at this point in the history
  • Loading branch information
KhafraDev committed Mar 17, 2022
1 parent 392213e commit 711ada8
Showing 1 changed file with 4 additions and 6 deletions.
10 changes: 4 additions & 6 deletions test/node-fetch/main.js
Expand Up @@ -780,9 +780,8 @@ describe('node-fetch', () => {
}
)
]
setTimeout(() => {
controller.abort()
}, 100)

controller.abort()

return Promise.all(fetches.map(fetched => expect(fetched)
.to.eventually.be.rejected
Expand All @@ -806,9 +805,8 @@ describe('node-fetch', () => {
}
)
]
setTimeout(() => {
controller.abort()
}, 100)

controller.abort()

return Promise.all(fetches.map(fetched => expect(fetched)
.to.eventually.be.rejected
Expand Down

0 comments on commit 711ada8

Please sign in to comment.