mirror of
https://github.com/oven-sh/bun
synced 2026-02-02 15:08:46 +00:00
13 lines
428 B
TypeScript
13 lines
428 B
TypeScript
import { basename, dirname, sep } from "node:path";
|
|
import { build, run } from "../../../harness";
|
|
|
|
test("build", async () => {
|
|
await build(import.meta.dir);
|
|
});
|
|
|
|
for (const file of Array.from(new Bun.Glob("*.js").scanSync(import.meta.dir))) {
|
|
test.todoIf(["test.js", "test-uncaught.js", "test-async-hooks.js"].includes(file))(file, () => {
|
|
run(dirname(import.meta.dir), basename(import.meta.dir) + sep + file);
|
|
});
|
|
}
|