Files
2026-08-27 21:09:14 +00:00

12 lines
386 B
TypeScript

import { expect, test } from "bun:test";
import { bunExe } from "harness";
import { execFile } from "node:child_process";
import util from "node:util";
test("issue 10170", async () => {
const execFileAsync = util.promisify(execFile);
const result = await execFileAsync(bunExe(), ["--version"]);
expect(result.stdout).toContain(Bun.version);
expect(result.stderr).toBe("");
});