Changesets · Branches · Tags · Compare
| Changeset | a78f2823a45696b475356388feae015f16037e3a293c424b967cccfa8bdfec50 |
|---|---|
| Author | Patrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-07-10 09:41 -07:00 |
| Committer | Patrick Erichsen <patrick.a.erichsen@gmail.com> · 2025-07-10 09:41 -07:00 |
| Parents | f2d7bde872a5 |
1 file changed
added .continue/rules/test-running-guide.md +21 −0
| @@ -0,0 +1,21 @@ | ||
| 1 | +--- | |
| 2 | +globs: '["gui/**/*", "core/**/*"]' | |
| 3 | +description: Provides test running instructions for GUI and core folders | |
| 4 | +alwaysApply: false | |
| 5 | +--- | |
| 6 | + | |
| 7 | +When working with test files, use the following commands to run tests: | |
| 8 | + | |
| 9 | +GUI folder tests: | |
| 10 | +- Run all tests: `cd gui && npm test` | |
| 11 | + | |
| 12 | +Core folder tests: | |
| 13 | +- Run Jest tests: `cd core && npm test` | |
| 14 | +- Run Vitest tests: `cd core && npm run vitest` | |
| 15 | + | |
| 16 | +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 | +Best practices: | |
| 21 | +- We are transitioning to vitest, so use that when creating new tests | |
| No newline at the end of the file |