Commit af0b2ca
Max updates Vitest Snapshot: Add code coverage report: Vitest supports Native code coverage via v8 and instrumented code coverage via istanbul (brisbanesocialchess#673)
* Add vitest package for coverage testing
* handling test converage in vite config
* add coverage script to package.json
* ignore coverage dir
* run pre-commit
* fix order
* fix eslint errors
* Add exclude for coverage
* move object dict
* handling test mode and use another route root path in that case compared to build phase
* run npm audit fix in packages/cfsite
* adding coverage to package.json of the backend dir
* setup initial ver of cloudflare mock test for vitest
* update cloudflare mock
* Delete cloudflare mock, use vitest in the root for _deploy frontend, and test vitest inside cfsite for the backend
* Fix coverage in package of cfsie
* Use istanbul engine for coverage test
* run pre-commit to fix issues - ident
* change order of dict in js
* update package lock
* use coverage v8 engine for frontend vite, remove line from gitignore, remove comment from vite config
* change version
* change private to true again - as we are not going to publish in a register
* Update vite.config.js
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>
---------
Co-authored-by: gemini-code-assist[bot] <176961590+gemini-code-assist[bot]@users.noreply.github.com>1 parent 1e86796 commit af0b2ca
File tree
7 files changed
+779
-64
lines changed- packages/cfsite
7 files changed
+779
-64
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
53 | 53 | | |
54 | 54 | | |
55 | 55 | | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
0 commit comments