Elffuss BraidHub

kikocis/continue public

main · 591 BRenderedRawPermalink
1---
2globs: ["gui/**/*", "core/**/*"]
3description: Provides test running instructions for GUI and core folders
4alwaysApply: false
5---
6
7When working with test files, use the following commands to run tests:
8
9GUI folder tests:
10
11- Run all tests: `cd gui && npm test`
12
13Core folder tests:
14
15- Run Jest tests: `cd core && npm test`
16- Run Vitest tests: `cd core && npm run vitest`
17
18Test 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
23Best practices:
24
25- We are transitioning to vitest, so use that when creating new tests