Files
bun.sh/test/napi/node-napi-tests/test/node-api/test_buffer/do.test.ts
Meghan Denny f8376f2e1f raise
2025-11-11 23:34:19 -08:00

14 lines
454 B
TypeScript

import { basename, dirname, sep } from "node:path";
import { build, run } from "../../../harness";
import { isWindows } from "harness";
test("build", async () => {
await build(import.meta.dir);
}, isWindows ? 60_000 : undefined);
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
test.todoIf(["test.js"].includes(file))(file, () => {
run(dirname(import.meta.dir), basename(import.meta.dir) + sep + file);
});
}