mirror of
https://github.com/denoland/deno.git
synced 2025-02-19 03:43:00 -05:00

This PR is part of #22907 --------- Signed-off-by: HasanAlrimawi <141642411+HasanAlrimawi@users.noreply.github.com> Co-authored-by: Bartek Iwańczuk <biwanczuk@gmail.com>
6 lines
170 B
TypeScript
6 lines
170 B
TypeScript
addEventListener("beforeunload", (e) => {
|
|
// The worker should be killed once tests are done regardless of this.
|
|
e.preventDefault();
|
|
});
|
|
|
|
Deno.test("foo", () => {});
|