mirror of
https://github.com/oven-sh/bun
synced 2026-02-09 18:38:55 +00:00
12 lines
386 B
TypeScript
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("");
|
|
});
|