You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I recently upgraded to React 16 and added the PropTypes package, and now my tests won't run at all with the following error message:
PhantomJS 2.1.1 (Mac OS X 0.0.0) ERROR
SyntaxError: Use of reserved word 'let' in strict mode
at webpack:///~/chai-as-promised/lib/chai-as-promised.js:3:0 <- test-bundler.js:21772
Can you confirm this error does not originate from chai-as-promised as suggested in the error message? Feel free to re-open if this is chai-enzyme's fault.
I recently upgraded to React 16 and added the PropTypes package, and now my tests won't run at all with the following error message:
These are the project dependencies:
There is another error further up, so it's possible this is the cause:
This is the
karma.config.js
:Anyone have any ideas as to why this isn't working now?
The text was updated successfully, but these errors were encountered: