fix: update PR workflow to exclude e2e tests from unit test phase
The workflow was running 'bun test' without arguments, which caused Bun to scan all directories including e2e/, picking up Playwright tests that should only run in the acceptance-tests phase. Updated to explicitly target unit/component tests: - src/__tests__/unit/ - src/__tests__/*.test.tsx - src/__tests__/auth-simple.test.ts
This commit is contained in:
@@ -20,7 +20,7 @@ jobs:
|
||||
run: bun install
|
||||
|
||||
- name: Run unit tests
|
||||
run: bun test
|
||||
run: bun test src/__tests__/unit/ src/__tests__/*.test.tsx src/__tests__/auth-simple.test.ts
|
||||
|
||||
acceptance-tests:
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
Reference in New Issue
Block a user