Skip to content

Commit d941682

Browse files
test: adding debug logging
1 parent b5257e4 commit d941682

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

test/fetch/index.test.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,7 +336,9 @@ testParams.forEach((params) => {
336336
await fetch(`${server.origin}/inspect`, { signal, method, body });
337337
assert.fail();
338338
} catch (err) {
339-
console.error(err);
339+
if (!(err instanceof AbortError)) {
340+
console.error(err);
341+
}
340342
assert(err instanceof AbortError);
341343
}
342344
});

0 commit comments

Comments
 (0)