Integration testing for node-red

I want to do integration testing for my node on Node-red.
Currently, I am doing the following:

  1. Install nyc and start with nyc
    $npm i nyc --save node
    $nyc --reporter=html node red.js
  2. Add, edit, delete nodes on the dashboard
  3. Ctrl + C to close the process
    I check the coverage result but it shows no files covered.

What step did I do wrong?

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.