Test Reporter Using Jest-HTML-Reporter
- ainendent
- Oct 9, 2023
- 1 min read

One of way to generate test report beside Jasmine is by using Jest-HTML-Reporter which you can put inside package.json. Here the step to follow:
type this on command line.
npm install --save-dev jest-html-reporter
then run the tests
npm run test
Right-click on test-report.html > Reveal in File Explorer > Double-click on test-report.

Finally, it's a wrap! you'll see the test report which summarize all the test scenario you run.

Thats all hope it useful for you guys!
Thank you.
-ay-
Comments