coverage is not writing files
Hi, We have version 1.0.3 in big monorepo and its working fine. Our setup is simple, we have this package as devDep in some packages that opted for code coverage along with config/coverage.js.
When we update the version to 2.0.0 or even latest without any other changes, code coverage is not writing coverage files. There are no errors as well. I used javascript debugger to trace the calls and its hitting https://github.com/ember-cli-code-coverage/ember-cli-code-coverage/blob/master/packages/ember-cli-code-coverage/lib/attach-middleware.js#L254 and after tests are finished its not hitting https://github.com/ember-cli-code-coverage/ember-cli-code-coverage/blob/master/packages/ember-cli-code-coverage/lib/attach-middleware.js#L229
I'm not sure how to troubleshoot further. Can someone please help
I believe this is the same issue as https://github.com/ember-cli-code-coverage/ember-cli-code-coverage/issues/420
On a previous project they downgraded to 1.x in order to get it to work, we are using much newer features and require 3.x so downgrading is not an option.
I'm not getting any error and also no reports with -s
It is possible that you may need to be on a higher version of 2.x to get it to work, or even 3.x
I do seem to recall a long time ago it not working for me at all until I upgraded to a certain version. Sorry that is not more helpful
It is possible that you may need to be on a higher version of 2.x to get it to work, or even 3.x
I do seem to recall a long time ago it not working for me at all until I upgraded to a certain version. Sorry that is not more helpful
Anything above 1.0.3 breaks coverage. Tried with latest 3.0.1
For an interim solution, please see: https://github.com/ember-cli-code-coverage/ember-cli-code-coverage/issues/420#issuecomment-2332270042