summaryrefslogtreecommitdiff
path: root/test_napi/env_test.js
diff options
context:
space:
mode:
Diffstat (limited to 'test_napi/env_test.js')
-rw-r--r--test_napi/env_test.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/test_napi/env_test.js b/test_napi/env_test.js
index 8ec12a534..0d509d6d6 100644
--- a/test_napi/env_test.js
+++ b/test_napi/env_test.js
@@ -6,7 +6,5 @@ const env = loadTestLibrary();
Deno.test("napi get global", function () {
const g = env.testNodeGlobal();
- // Note: global is a mock object in the tests.
- // See common.js
- assert(g.Buffer);
+ assert(g === globalThis);
});