1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2025-01-09 23:58:23 -05:00
denoland-deno/tests/napi/env_test.js
2024-12-31 19:12:39 +00:00

10 lines
252 B
JavaScript

// Copyright 2018-2025 the Deno authors. MIT license.
import { assert, loadTestLibrary } from "./common.js";
const env = loadTestLibrary();
Deno.test("napi get global", function () {
const g = env.testNodeGlobal();
assert(g === globalThis);
});