Testing ​
Jest ​
We use Jest JavaScript Testing Framework
- Jest can collect code coverage information​
- Jest support snapshot testing out of the box​
- All in One solution. Replaces Mocha, Chai, Sinon and Istanbul​
- It works with Vue.js and Node.js projects​
To execute all tests, simply run
yarn workspaces foreach --all run testor to include test coverage generation
yarn workspaces foreach --all run test-coverageYou can also run tests for frontend, backend and charts directly inside the respective folder via
yarn testLint ​
We use ESLint for static code analyzing.
To execute, run
yarn workspaces foreach --all run lint