-
Notifications
You must be signed in to change notification settings - Fork 109
Closed
Description
I'm attempting to use async-await in ember 2.11 with code coverage enabled.
- the app will work fine
- tests work fine without coverage (
ember testwill succeed)
But ember-cli-code-coverage goes berserk:
// config/coverage.js
useBabelInstrumenter: true,
babelPlugins: [
'babel-plugin-transform-async-to-generator',
],
Running tests with coverage (COVERAGE=true ember test) results hundreds of errors like:
Unable to cover: app/transforms/foo.js . Newer JS features may need Babel instumentation to work. Try setting useBabelInstrumenter to true in your config/coverage.js.
ReferenceError: [BABEL] app/transforms/ai-socialcode-audience-type.js: Using removed Babel 5 option: base.modules - Use the corresponding module transform plugin in the `plugins` option. Check out http://babeljs.io/docs/plugins/#modules
for every file.
ember --version
ember-cli: 2.11.1
node: 6.11.1
os: darwin x64
"ember-cli-code-coverage": "^0.4.1",
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels