go get ./...
npm install
To install test framework copy and past this command:
npm install --global jest
To run test suites:
npm test
To see coverage:
npm test --coverage
Jest will run anything in the tests directory by default. Jasmine is the default runner for Jest, so we have access to describe, it, and expect without configuring anything.
Install dependencies:
npm install
In Webstorm/Phpstorm open "Preferences" -> "Language & Frameworks" -> "Javascript" -> "Code Quality Tools" -> "ESLint" and choose ESLint bin in node_modules dir.
Click the right mouse button on "react" dir and choose "Mark Directory as" -> "Resource Root"