Skip to content

Commit

Permalink
Try debugging flaky abort test
Browse files Browse the repository at this point in the history
Signed-off-by: Matteo Collina <hello@matteocollina.com>
  • Loading branch information
mcollina committed Oct 14, 2024
1 parent e8c3aba commit 51d5a4c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion test/fetch/long-lived-abort-controller.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,8 @@ test('long-lived-abort-controller', { skip: isNode18 }, async (t) => {
t.after(closeServerAsPromise(server))

let warningEmitted = false
function onWarning () {
function onWarning (warning) {
console.error(warning)
warningEmitted = true
}
process.on('warning', onWarning)
Expand Down

0 comments on commit 51d5a4c

Please # to comment.