Skip to content

Commit

Permalink
Update spawn-path.test.ts
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Dec 31, 2024
1 parent 249dcb8 commit a3b6b0a
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions test/js/bun/spawn/spawn-path.test.ts
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
import { test, expect } from "bun:test";
import { chmodSync } from "fs";
import { tempDirWithFiles, bunEnv } from "harness";
import { isWindows, tempDirWithFiles, bunEnv } from "harness";
import path from "path";
test("spawn uses PATH from env if present", async () => {

test.skipIf(isWindows)("spawn uses PATH from env if present", async () => {
const tmpDir = await tempDirWithFiles("spawn-path", {
"test-script": `#!/usr/bin/env bash
echo "hello from script"`,
Expand Down

0 comments on commit a3b6b0a

Please sign in to comment.