Add vitest test framework
Adds two new npm scripts: - 'test' - runs test suite once and exits - 'test:watch' - runs test suite perpetually. Any file suffixed with '.test.[js|ts]' is considered a test suite
This commit is contained in:
parent
e4ebe14340
commit
705d0c9a0f
3 changed files with 1680 additions and 0 deletions
3
.github/workflows/tsc.yml
vendored
3
.github/workflows/tsc.yml
vendored
|
@ -27,3 +27,6 @@ jobs:
|
|||
|
||||
- name: Run tsc
|
||||
run: npm run build:check
|
||||
|
||||
- name: Run test suite
|
||||
run: npm run test
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue