We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cbdc86 commit 6c15790Copy full SHA for 6c15790
test-tap/test.js
@@ -768,11 +768,9 @@ test('t.passed value is false when teardown callback is executed for failing tes
768
title: 'foo',
769
}).run();
770
});
771
-
772
773
test('DOMException should be considered an error', async t => {
774
await t.throwsAsync(
775
Promise.reject(new DOMException('an error')),
776
{ instanceOf: DOMException } // Explicitly specify the expected error type
777
);
778
-});
+});
0 commit comments