Skip to content

Commit

Permalink
Use current bun in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Jarred-Sumner committed Apr 12, 2024
1 parent 9c0f1d6 commit 63c4f73
Showing 1 changed file with 11 additions and 11 deletions.
22 changes: 11 additions & 11 deletions test/cli/run/filter-workspace.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ const cwd_root = tempDirWithFiles("testworkspace", {
name: "pkga",
scripts: {
present: "echo scripta",
long: "bun run sleep.js",
long: `${bunExe()} run sleep.js`,
},
}),
},
Expand All @@ -25,7 +25,7 @@ const cwd_root = tempDirWithFiles("testworkspace", {
name: "pkgb",
scripts: {
present: "echo scriptb",
long: "bun run sleep.js",
long: `${bunExe()} run sleep.js`,
},
}),
},
Expand Down Expand Up @@ -227,9 +227,9 @@ describe("bun", () => {
"package.json": JSON.stringify({
name: "dep0",
scripts: {
prescript: "bun run write.js",
script: "bun run readwrite.js",
postscript: "bun run read.js",
prescript: `${bunExe()} run write.js`,
script: `${bunExe()} run readwrite.js`,
postscript: `${bunExe()} run read.js`,
},
}),
},
Expand All @@ -250,7 +250,7 @@ describe("bun", () => {
"package.json": JSON.stringify({
name: "dep0",
scripts: {
script: "bun run index.js",
script: `${bunExe()} run index.js`,
},
}),
},
Expand All @@ -262,7 +262,7 @@ describe("bun", () => {
dep0: "*",
},
scripts: {
script: "bun run index.js",
script: `${bunExe()} run index.js`,
},
}),
},
Expand All @@ -286,9 +286,9 @@ describe("bun", () => {
"package.json": JSON.stringify({
name: "dep0",
scripts: {
prescript: "bun run write.js",
script: "bun run readwrite.js",
postscript: "bun run read.js",
prescript: `${bunExe()} run write.js`,
script: `${bunExe()} run readwrite.js`,
postscript: `${bunExe()} run read.js`,
},
dependencies: {
dep1: "*",
Expand All @@ -303,7 +303,7 @@ describe("bun", () => {
dep0: "*",
},
scripts: {
script: "bun run index.js",
script: `${bunExe()} run index.js`,
},
}),
},
Expand Down

0 comments on commit 63c4f73

Please sign in to comment.