Closed wchen-obj closed 3 years ago
What was the token? Can you find any more info?
It is not related to specific token but import a ES6 syntax module into react app and run test. https://stackoverflow.com/a/52870851 https://stackoverflow.com/a/55526344 https://github.com/facebook/jest/issues/2081
Modules are added!
Introduce babel to compile a ES syntax module into ES2015 syntax.
When I import JSONCrush into a react APP and run npm test the test fail.
Jest encountered an unexpected token