diff options
Diffstat (limited to 'cli/tests/078_unload_on_exit.ts')
-rw-r--r-- | cli/tests/078_unload_on_exit.ts | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/cli/tests/078_unload_on_exit.ts b/cli/tests/078_unload_on_exit.ts new file mode 100644 index 000000000..e8288ef31 --- /dev/null +++ b/cli/tests/078_unload_on_exit.ts @@ -0,0 +1,4 @@ +window.onunload = () => { + console.log("onunload is called"); +}; +Deno.exit(0); |