I want to do integration testing for my node on Node-red.
Currently, I am doing the following:
- Install nyc and start with nyc
$npm i nyc --save node
$nyc --reporter=html node red.js
- Add, edit, delete nodes on the dashboard
- Ctrl + C to close the process
I check the coverage result but it shows no files covered.
What step did I do wrong?