Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ReferenceError: regeneratorRuntime is not defined on npm run coverage #85

Closed
sibelius opened this issue Jan 23, 2016 · 3 comments
Closed

Comments

@sibelius
Copy link
Contributor

I'm receiving this error on npm run coverage

ReferenceError: regeneratorRuntime is not defined
    at /Users/sibelius/Dev/rturk/graffiti-mongoose/src/query/query.js:9:19199
@tothandras
Copy link
Contributor

I see an --include-babel-polyfill flag in package.json for instanbul. Let me check.

@tothandras
Copy link
Contributor

"coverage": "NODE_ENV=test babel-istanbul cover _mocha -- --require babel-polyfill 'src/**/*.spec.js'" does work. ;) Although it's not really nice.

@sibelius
Copy link
Contributor Author

it works with the comment above

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants