1
0
Fork 0
mirror of https://github.com/denoland/deno.git synced 2024-12-22 07:14:47 -05:00
denoland-deno/test_napi/env_test.js
2024-01-01 19:58:21 +00:00

10 lines
273 B
JavaScript

// 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();
assert(g === globalThis);
});