summaryrefslogtreecommitdiff
path: root/cli/tests/unit_node/testdata/add_global_property_run_main.js
diff options
context:
space:
mode:
authorYoshiya Hinosawa <stibium121@gmail.com>2023-05-13 14:49:11 +0900
committerGitHub <noreply@github.com>2023-05-13 14:49:11 +0900
commit2a0c66484098ba35c1b31d4dc6380887b6eb9da4 (patch)
tree5c01b215882c3335853a6e1b36089d1bf1695c30 /cli/tests/unit_node/testdata/add_global_property_run_main.js
parent68c0fcb157bb47bbf58bcdcecf59d237fb84f201 (diff)
chore: fix & update node compat config (#19106)
Diffstat (limited to 'cli/tests/unit_node/testdata/add_global_property_run_main.js')
-rw-r--r--cli/tests/unit_node/testdata/add_global_property_run_main.js1
1 files changed, 1 insertions, 0 deletions
diff --git a/cli/tests/unit_node/testdata/add_global_property_run_main.js b/cli/tests/unit_node/testdata/add_global_property_run_main.js
new file mode 100644
index 000000000..c9db1cea6
--- /dev/null
+++ b/cli/tests/unit_node/testdata/add_global_property_run_main.js
@@ -0,0 +1 @@
+globalThis.calledViaRunMain = true;