Skip to content

Commit 2ad5bb5

Browse files
committed
fix: prevent ember-cli-code-coverage babel plugin setup from leaking when parent runs tests w/ COVERAGE=true
1 parent ea87c42 commit 2ad5bb5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

index.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ module.exports = {
2121
included(parent) {
2222
this._super.included.apply(this, arguments);
2323

24-
if (parent.name === 'dummy') {
24+
if (parent.project.pkg.name === name) {
2525
this.options.babel.plugins.push(...require('ember-cli-code-coverage').buildBabelPlugin());
2626
}
2727
},

0 commit comments

Comments
 (0)