Skip to content

Commit f5482dc

Browse files
committed
fix: test logging unhandled rejection from teardown
1 parent d785676 commit f5482dc

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/fixtures/index.ts

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,9 @@ export const test = base.extend<{
2424

2525
await use(webcontainer);
2626

27+
addEventListener("unhandledrejection", (event) => {
28+
console.log("unhandled rejection", event);
29+
});
2730
await webcontainer.teardown();
2831
},
2932
});

0 commit comments

Comments
 (0)