Skip to content

Commit 8c43d44

Browse files
committed
chore(scripts): rename test to test:unit to avoid conflict
Running `bun test` is not equivalent to `bun run test` since `test` is a reserved script.
1 parent 082040e commit 8c43d44

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

.github/workflows/ci.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,6 @@ jobs:
1616
run: |
1717
bun install
1818
bun run playwright install --with-deps
19-
bun run build:lib
20-
bun run test
21-
bun run test:e2e
19+
bun build:lib
20+
bun test:unit
21+
bun test:e2e

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
"build": "bunx --bun astro build",
1111
"build:lib": "bun scripts/index.js",
1212
"package": "bun scripts/npm-package.js",
13-
"test": "bun test tests/*.ts",
13+
"test:unit": "bun test tests/*.ts",
1414
"test:e2e": "playwright test",
1515
"format": "bunx --bun prettier --write .",
1616
"astro": "astro",

0 commit comments

Comments
 (0)