From 17e1c6b111b37b40822c70215158def1e6e5abee Mon Sep 17 00:00:00 2001
From: Prasanth S <101855216+Prasanth2706@users.noreply.github.com>
Date: Sat, 15 Mar 2025 13:28:13 +0530
Subject: [PATCH 1/4] Fix DOMException error in Ava test

---
 test-tap/test.js | 10 ++++++++++
 1 file changed, 10 insertions(+)

diff --git a/test-tap/test.js b/test-tap/test.js
index 17f4bc19e..95b5bf1ee 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,11 @@ 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
+    );
+});

From d043a9714845ceb099a4d236ff7a4071978f7ec3 Mon Sep 17 00:00:00 2001
From: Prasanth S <101855216+Prasanth2706@users.noreply.github.com>
Date: Sat, 15 Mar 2025 13:30:28 +0530
Subject: [PATCH 2/4] Fix DOMException error in Ava test

---
 test-tap/test.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/test-tap/test.js b/test-tap/test.js
index 95b5bf1ee..fa04f02ff 100644
--- a/test-tap/test.js
+++ b/test-tap/test.js
@@ -769,10 +769,10 @@ test('t.passed value is false when teardown callback is executed for failing tes
 	}).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
     );
 });
+

From 3cbdc8627638e7bbfc5fae2e484bcbf2616916c0 Mon Sep 17 00:00:00 2001
From: Prasanth S <101855216+Prasanth2706@users.noreply.github.com>
Date: Sat, 15 Mar 2025 13:42:24 +0530
Subject: [PATCH 3/4] Fix: Handle DOMException error in Ava tests

---
 ava              | 1 +
 test-tap/test.js | 2 +-
 2 files changed, 2 insertions(+), 1 deletion(-)
 create mode 160000 ava

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 fa04f02ff..95b5bf1ee 100644
--- a/test-tap/test.js
+++ b/test-tap/test.js
@@ -769,10 +769,10 @@ test('t.passed value is false when teardown callback is executed for failing tes
 	}).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
     );
 });
-

From 6c15790121fb664aff82865b58a2fb5f3f5c8fcf Mon Sep 17 00:00:00 2001
From: Prasanth S <101855216+Prasanth2706@users.noreply.github.com>
Date: Sat, 15 Mar 2025 13:49:39 +0530
Subject: [PATCH 4/4] Fix: Handle DOMException error in Ava tests

---
 test-tap/test.js | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/test-tap/test.js b/test-tap/test.js
index 95b5bf1ee..c338dd427 100644
--- a/test-tap/test.js
+++ b/test-tap/test.js
@@ -768,11 +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