summaryrefslogtreecommitdiff
path: root/tests/034_onload/nest_imported.ts
diff options
context:
space:
mode:
Diffstat (limited to 'tests/034_onload/nest_imported.ts')
-rw-r--r--tests/034_onload/nest_imported.ts7
1 files changed, 7 insertions, 0 deletions
diff --git a/tests/034_onload/nest_imported.ts b/tests/034_onload/nest_imported.ts
new file mode 100644
index 000000000..2e2bee1d5
--- /dev/null
+++ b/tests/034_onload/nest_imported.ts
@@ -0,0 +1,7 @@
+window.addEventListener(
+ "load",
+ (e: Event): void => {
+ console.log(`got ${e.type} event in event handler (nest_imported)`);
+ }
+);
+console.log("log from nest_imported script");