summaryrefslogtreecommitdiff
path: root/cli/tests/testdata/npm/compare_globals/main.ts
diff options
context:
space:
mode:
Diffstat (limited to 'cli/tests/testdata/npm/compare_globals/main.ts')
-rw-r--r--cli/tests/testdata/npm/compare_globals/main.ts2
1 files changed, 2 insertions, 0 deletions
diff --git a/cli/tests/testdata/npm/compare_globals/main.ts b/cli/tests/testdata/npm/compare_globals/main.ts
index 8d3ae1ea0..6f7b9ef8e 100644
--- a/cli/tests/testdata/npm/compare_globals/main.ts
+++ b/cli/tests/testdata/npm/compare_globals/main.ts
@@ -48,3 +48,5 @@ globals.checkWindowGlobal();
(globalThis as any).foo = "bar";
console.log((globalThis as any).foo);
console.log(globals.getFoo());
+
+console.log(Reflect.ownKeys(globalThis).includes("console")); // non-enumerable keys are included