Skip to content

Commit eaca87f

Browse files
committed
Update test scripts to use explicit vitest config path
1 parent a4ca55f commit eaca87f

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

package.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@
5959
"prepublishOnly": "echo 'ERROR: Use GitHub Actions workflow for publishing' && exit 1",
6060
"pretest:unit": "pnpm run build",
6161
"test": "run-s check test:*",
62-
"test:unit": "dotenvx -q run -f .env.test -- vitest --run",
63-
"test:unit:coverage": "dotenvx -q run -f .env.test -- vitest run --coverage",
64-
"test:unit:update": "dotenvx -q run -f .env.test -- vitest --run --update",
65-
"test-ci": "dotenvx -q run -f .env.test -- vitest --run",
62+
"test:unit": "dotenvx -q run -f .env.test -- vitest --config .config/vitest.config.mts --run",
63+
"test:unit:coverage": "dotenvx -q run -f .env.test -- vitest --config .config/vitest.config.mts run --coverage",
64+
"test:unit:update": "dotenvx -q run -f .env.test -- vitest --config .config/vitest.config.mts --run --update",
65+
"test-ci": "dotenvx -q run -f .env.test -- vitest --config .config/vitest.config.mts --run",
6666
"type-ci": "pnpm run check:tsc",
6767
"test-pre-commit": "dotenvx -q run -f .env.precommit -- pnpm test",
6868
"update": "run-p --aggregate-output update:* && run-s update:longtask:**",

0 commit comments

Comments
 (0)