Skip to content

coverage is not writing files #421

Open

Description

@sbonasu

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

Activity

  1. cah-brian-gantzler commented on Aug 23, 2024

    @cah-brian-gantzler

    I believe this is the same issue as #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.

  2. sbonasu commented on Aug 25, 2024

    @sbonasu
    Author

    I'm not getting any error and also no reports with -s

  3. cah-brian-gantzler commented on Aug 27, 2024

    @cah-brian-gantzler

    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

  4. sbonasu commented on Aug 27, 2024

    @sbonasu
    Author

    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

  5. cah-john-ryan commented on Sep 5, 2024

    @cah-john-ryan

    For an interim solution, please see: #420 (comment)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions