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
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?