few-laptop-73260
12/06/2022, 11:16 PM"react-scripts -r @cypress/instrument-cra start"
to generate the .nyc_ouput file needed to generate coverage.
When running cypress on the pipeline, I give him an external URL where my react app is deployed (GitHub pages). However, I am not able to generate the instrumentation for it on the pipeline. Do you know any ways I could generate this .nyc_output without having to add it to a script and run my application? Is there any way to generate this .nyc_output just with a command analyzing the code?
> I am guessing a command like this exists because of a peculiar behavior I noticed. When running my application with npx cypress run --headless it does not generate the nyc_output. However, when I run opening the interface with npx cypress open and clicking to run the tests, it can generate. But I have no idea what is the difference between the headless option and the interface one.
Thank you in advance.