1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-18 13:22:55 -05:00
denoland-deno/tests/napi/env_test.js

11 lines
273 B
JavaScript
Raw Normal View History

// Copyright 2018-2024 the Deno authors. All rights reserved. MIT license.
import { assert, loadTestLibrary } from "./common.js";
const env = loadTestLibrary();
Deno.test("napi get global", function () {
const g = env.testNodeGlobal();
2023-07-19 06:36:52 -04:00
assert(g === globalThis);
});