I am using Detox with Cucumber for BDD test report. All test feature is working fine. Then I installed nyc plugin for generating detailed test coverage report but that is not instrumenting React components (such as App.js).
While using with jest it is working as expected but for some technical reasons we have to use it with Cucumber test.
Link to bug demonstration repository
Expected Behavior
Instrumentation of all the React components should happen.
Observed Behavior
All the React functional component code is going in Uncovered Line column of the coverage report.
Troubleshooting steps
[ ] still occurring when I put cache: false in my nyc config
I am using Detox with Cucumber for BDD test report. All test feature is working fine. Then I installed nyc plugin for generating detailed test coverage report but that is not instrumenting React components (such as App.js). While using with jest it is working as expected but for some technical reasons we have to use it with Cucumber test.
Link to bug demonstration repository
Expected Behavior
Instrumentation of all the React components should happen.
Observed Behavior
All the React functional component code is going in Uncovered Line column of the coverage report.
Troubleshooting steps
cache: false
in my nyc configEnvironment Information