Skip to content

Commit b0679fd

Browse files
committed
use .bin/bun in codebuff.json
1 parent 14d370e commit b0679fd

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

codebuff.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
"fileChangeHooks": [
1616
{
1717
"name": "backend-unit-tests",
18-
"command": "set -o pipefail && find src -name *.test.ts ! -name *.integration.test.ts | sort | xargs -I {} bun test {} 2>&1 | grep -Ev '✓|\\(pass\\)'",
18+
"command": "set -o pipefail && find src -name '*.test.ts' ! -name '*.integration.test.ts' | sort | xargs -I {} ../.bin/bun test {} 2>&1 | grep -Ev '✓|\\(pass\\)'",
1919
"cwd": "backend",
2020
"filePattern": "backend/**/*.ts"
2121
},
@@ -27,7 +27,7 @@
2727
},
2828
{
2929
"name": "npm-app-unit-tests",
30-
"command": "set -o pipefail && find src -name *.test.ts ! -name *.integration.test.ts | sort | xargs -I {} bun test {} 2>&1 | grep -Ev '✓|\\(pass\\)'",
30+
"command": "set -o pipefail && find src -name '*.test.ts' ! -name '*.integration.test.ts' | sort | xargs -I {} ../.bin/bun test {} 2>&1 | grep -Ev '✓|\\(pass\\)'",
3131
"cwd": "npm-app",
3232
"filePattern": "npm-app/**/*.ts"
3333
},
@@ -45,7 +45,7 @@
4545
},
4646
{
4747
"name": "common-unit-tests",
48-
"command": "set -o pipefail && find src -name *.test.ts ! -name *.integration.test.ts | sort | xargs -I {} bun test {} 2>&1 | grep -Ev '✓|\\(pass\\)'",
48+
"command": "set -o pipefail && find src -name '*.test.ts' ! -name '*.integration.test.ts' | sort | xargs -I {} ../.bin/bun test {} 2>&1 | grep -Ev '✓|\\(pass\\)'",
4949
"cwd": "common",
5050
"filePattern": "common/**/*.ts"
5151
},

0 commit comments

Comments
 (0)