Closed
Description
Currently, the project do not have test coverage feature, and we donot know if the test is enough or not.
So I suggest if we can have test coverage feature, it is better for us to control test or CI flow in the future.
I will introduce C8 here:
Here is the website and documentation of C8:
https://www.npmjs.com/package/c8
C8 can generate html report, text report, cobertura report and etc.
Here is report screenshot:
it also report directly during test run:
The report will generated under ./coverage
folder, of cause it should be git ignored.