Merge pull request #11 with Windows wrapper execution and platform tests

This commit is contained in:
Kashyab Ambarani
2026-09-25 03:44:07 -07:00
7 changed files with 170 additions and 27 deletions
+8
View File
@@ -0,0 +1,8 @@
import { readdirSync } from "node:fs";
import { spawnSync } from "node:child_process";
import { join } from "node:path";
const files = readdirSync("test").filter((file) => file.endsWith(".test.mjs")).sort().map((file) => join("test", file));
const result = spawnSync(process.execPath, ["--import", "tsx", "--test", ...files], { stdio: "inherit" });
if (result.error) throw result.error;
process.exit(result.status ?? 1);