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
unable to test when employing template strings #358
Comments
Hey @geek thanks for taking a look at this, but I'm still having the issue -- although without any mention of uku ➤ npm test git:master*
> uku@0.0.1 test /Users/jdomino/Documents/heroku/uku
> lab --timeout 5000 --lint --coverage
/Users/jdomino/Documents/heroku/uku/node_modules/lab/node_modules/espree/espree.js:5435
throw e;
^
Error: Line 12: Unexpected token ILLEGAL If I simply remove all usage of template strings in my code [by commenting them out], this command runs to completion just fine. |
@jmonster I think we will want to change our options when we call espree to be tolerant of parser errors. I will log an issue |
@geek This is probably more a matter of enabling espree ES6 feature here. |
This thread has been automatically locked due to inactivity. Please open a new issue for related bugs or questions following the new issue template instructions. |
I'm enjoying some ES6 fanciness, e.g:
However, Lab can't process this:
So I've altered my
package.json
to pass in the necessary--use_strict
argument that is needed to unlock this feature:But once I do this, I encounter a new problem:
Of course if I drop
--coverage
, everything runs to completion just fine.. thoughts?The text was updated successfully, but these errors were encountered: