mirror of
https://github.com/denoland/deno.git
synced 2024-12-20 14:24:48 -05:00
e0b9c745c1
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", () => {});
|