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 c887799 commit 12b877cCopy full SHA for 12b877c
src/fixtures/index.ts
@@ -24,6 +24,17 @@ export const test = base.extend<{
24
25
await use(webcontainer);
26
27
+ addEventListener("unhandledrejection", (event) => {
28
+ if (
29
+ event.reason instanceof Error &&
30
+ event.reason.message === "Process aborted"
31
+ ) {
32
+ return event.preventDefault();
33
+ }
34
+
35
+ return Promise.reject(event.reason);
36
+ });
37
38
await webcontainer.teardown();
39
},
40
});
0 commit comments