Changesets · Branches · Tags · Compare
| Changeset | 845b4f2ce14e7830e896c832d307a9181233c595aa19030dc5d052fc8ab95758 |
|---|---|
| Author | Dallin Romney <dallinromney@gmail.com> · 2025-07-10 22:23 -07:00 |
| Committer | GitHub <noreply@github.com> · 2025-07-10 22:23 -07:00 |
| Parents | ae308d6082a6, f344e1d9244a |
1 file changed
added .continue/rules/test-running-guide.md +25 −0
| @@ -0,0 +1,25 @@ | ||
| 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 | + | |
| 11 | +- Run all tests: `cd gui && npm test` | |
| 12 | + | |
| 13 | +Core folder tests: | |
| 14 | + | |
| 15 | +- Run Jest tests: `cd core && npm test` | |
| 16 | +- Run Vitest tests: `cd core && npm run vitest` | |
| 17 | + | |
| 18 | +Test file patterns: | |
| 19 | + | |
| 20 | +- GUI: _.test.ts or_.test.tsx files use Vitest | |
| 21 | +- Core: _.test.ts files use Jest,_.vitest.ts files use Vitest | |
| 22 | + | |
| 23 | +Best practices: | |
| 24 | + | |
| 25 | +- We are transitioning to vitest, so use that when creating new tests |