mirror of
https://github.com/denoland/deno.git
synced 2024-11-22 04:51:22 +00:00
f60720090c
Moving some additional NAPI and. FFI tests out of the tree root.
11 lines
273 B
JavaScript
11 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);
|
|
});
|