Skip to content

Commit 18482be

Browse files
committed
fix(tests): specify test files explicitly to avoid glob expansion issues
- Replace glob patterns with explicit file paths in test scripts - Fixes "Could not find" error in CI environments - Ensures tests run correctly on both Node 18 and Node 20
1 parent 84590c5 commit 18482be

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,8 @@
1111
"dev": "turbo run dev",
1212
"build": "turbo run build",
1313
"test": "pnpm run test:unit && pnpm run test:integration",
14-
"test:unit": "node --test \"tests/unit/**/*.js\"",
15-
"test:integration": "node --test \"tests/integration/**/*.js\"",
14+
"test:unit": "node --test tests/unit/config.test.js",
15+
"test:integration": "node --test tests/integration/health.test.js",
1616
"lint": "pnpm exec eslint . --ext .ts,.tsx,.js,.jsx --ignore-pattern dist --ignore-pattern build",
1717
"format": "prettier --write \"**/*.{ts,tsx,js,jsx,json,md}\"",
1818
"format:check": "prettier --check \"**/*.{ts,tsx,js,jsx,json,md}\"",

0 commit comments

Comments
 (0)