Changesets · Branches · Tags · Compare
| Changeset | f344e1d9244a9736123aa751bb9ed2a7a11873b2624d4909c1f5a9903e762c49 |
|---|---|
| Author | Patrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-07-10 09:52 -07:00 |
| Committer | Patrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-07-10 09:52 -07:00 |
| Parents | a78f2823a456 |
1 file changed
modified .continue/rules/test-running-guide.md +8 −4
| @@ -1,5 +1,5 @@ | ||
| 1 | 1 | --- |
| 2 | -globs: '["gui/**/*", "core/**/*"]' | |
| 2 | +globs: ["gui/**/*", "core/**/*"] | |
| 3 | 3 | description: Provides test running instructions for GUI and core folders |
| 4 | 4 | alwaysApply: false |
| 5 | 5 | --- |
| @@ -7,15 +7,19 @@ | ||
| 7 | 7 | When working with test files, use the following commands to run tests: |
| 8 | 8 | |
| 9 | 9 | GUI folder tests: |
| 10 | + | |
| 10 | 11 | - Run all tests: `cd gui && npm test` |
| 11 | 12 | |
| 12 | 13 | Core folder tests: |
| 14 | + | |
| 13 | 15 | - Run Jest tests: `cd core && npm test` |
| 14 | 16 | - Run Vitest tests: `cd core && npm run vitest` |
| 15 | 17 | |
| 16 | 18 | Test file patterns: |
| 17 | -- GUI: *.test.ts or *.test.tsx files use Vitest | |
| 18 | -- Core: *.test.ts files use Jest, *.vitest.ts files use Vitest | |
| 19 | + | |
| 20 | +- GUI: _.test.ts or_.test.tsx files use Vitest | |
| 21 | +- Core: _.test.ts files use Jest,_.vitest.ts files use Vitest | |
| 19 | 22 | |
| 20 | 23 | Best practices: |
| 21 | -- We are transitioning to vitest, so use that when creating new tests | |
| No newline at the end of the file | ||
| 24 | + | |
| 25 | +- We are transitioning to vitest, so use that when creating new tests |