-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Description
Versions:
"ember-cli": "~4.12.1",
"@embroider/compat": "^3.2.1",
"@embroider/core": "^3.2.1",
"@embroider/webpack": "^3.1.5",
"ember-cli-code-coverage": "2.0.0"
Utilizing embroider >2 (as of writing, 3.2) coverage is not generated.
From initial debugging, a couple things ive noticed:
- The
stableWorkspaceDir(@embroider/compat) method returns a directory that does not match the build directory that is printed when the build completes before tests are run (Built in ....) -- Unsure if this is actually an issue, or Istanbul simply needs an empty directory to work from testMiddlewaremethod is registered, but the app never POSTs back (coverageHandleris never invoked)- If running with
--serverflag,sendCoverageis invoked, butwindow.__coverage__is empty
Repro: https://github.com/chrismllr/repro-code-coverage-embroider
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels