Skip to content

Commit 1a26ecc

Browse files
committed
fix(solid): Fix error handler
1 parent 2cc6de8 commit 1a26ecc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

packages/solid/index.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ export const testRender = async (node: () => JSX.Element, renderConfig: TestRend
4545
try {
4646
dispose()
4747
} catch (e) {
48-
if (e instanceof DOMException && e.name === "AbortError") { }
48+
if ((e as any).name === "AbortError") { }
4949
else throw e
5050
}
5151
}

0 commit comments

Comments
 (0)