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:
Dmitriy Dubson 2023-10-03 10:25:00 -04:00
parent e4ebe14340
commit 705d0c9a0f
3 changed files with 1680 additions and 0 deletions

View file

@ -27,3 +27,6 @@ jobs:
- name: Run tsc
run: npm run build:check
- name: Run test suite
run: npm run test