blob: bdbd395d3d962ea0589e0bed437839516056582e (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
// Copyright 2018-2023 the Deno authors. All rights reserved. MIT license.
import { assert, loadTestLibrary } from "./common.js";
const mem = loadTestLibrary();
Deno.test("napi adjust external memory", function () {
const adjusted = mem.adjust_external_memory();
assert(typeof adjusted === "number");
assert(adjusted > 0);
});
|