Answer by Matt Dell for Jest(react testing tool) error - Parse Error: Line 1:...
Presumably your mypage.js component has as its first line something likeimport React from 'react' or something similar. That is ES6 syntax and by default ReactTools is only compatible with ES5 code,...
View ArticleJest(react testing tool) error - Parse Error: Line 1: Illegal import declaration
I'm now using node.js(0.10.x) version, jest(0.4.x) version to test react.js.Before I decided to test my react components, I have used node.js 0.12.x version. Change through nvm to 0.10.x.I rebuilded...
View Article
More Pages to Explore .....