Add coverage report and basic vitest settings

Set tests folder and coverage settings, update run commands for tests
This commit is contained in:
2025-03-10 17:29:07 +09:00
parent df94f864cf
commit f9d771f079
6 changed files with 765 additions and 1 deletions

View File

@@ -141,6 +141,18 @@ vitest is used for all usage tests
npx vitest
```
for one stop tests
```sh
npm run test:run
```
To show the full coverate (of all files)
```sh
npm run test:coverage
```
Currently covered:
- FormatBytes