diff --git a/ava b/ava
new file mode 160000
index 000000000..2bc37695c
--- /dev/null
+++ b/ava
@@ -0,0 +1 @@
+Subproject commit 2bc37695cc8d74f998305d5475d1be599cd6851d
diff --git a/test-tap/test.js b/test-tap/test.js
index 17f4bc19e..c338dd427 100644
--- a/test-tap/test.js
+++ b/test-tap/test.js
@@ -12,6 +12,8 @@ import Test from '../lib/test.js';
 import {set as setOptions} from '../lib/worker/options.cjs';
 
 import {ava} from './helper/ava-test.js';
+import test from 'ava';
+
 
 setOptions({});
 
@@ -766,3 +768,9 @@ test('t.passed value is false when teardown callback is executed for failing tes
 		title: 'foo',
 	}).run();
 });
+test('DOMException should be considered an error', async t => {
+    await t.throwsAsync(
+        Promise.reject(new DOMException('an error')),
+        { instanceOf: DOMException } // Explicitly specify the expected error type
+    );
+});
\ No newline at end of file