Skip to content

Commit

Permalink
test: windows
Browse files Browse the repository at this point in the history
  • Loading branch information
metcoder95 committed Sep 13, 2024
1 parent 454c1f0 commit e7a4a55
Showing 1 changed file with 9 additions and 1 deletion.
10 changes: 9 additions & 1 deletion test/interceptors/dns.js
Original file line number Diff line number Diff line change
Expand Up @@ -337,7 +337,15 @@ test('Should throw when on dual-stack disabled (6)', async t => {
origin: 'http://localhost'
})

await t.rejects(promise, 'ECONNREFUSED')
// TODO: remove
await t.rejects(
promise.catch(err => {
console.log(err)
throw err
}),
'ECONNREFUSED'
)
// await t.rejects(promise, 'ECONNREFUSED')

await t.complete
})
Expand Down

0 comments on commit e7a4a55

Please sign in to comment.