Quality#
Tests#
We have Unit tests and UI (functional) tests in the project. Each setup is completely different.
Unit test#
We use Jest for Unit tests.
1. To run all tests type a command: npm run test
UI test (functional)#
Configure Selenium, WireMock, Maven
To run
uitests type a command:mvn verify
Coding styles#
We use ESlint as a linting utility.
All configuration is stored in .eslintrc.js file.
Additionally we use Prettier library to format code.
To check source code run a command:
npm run lintTo check
prettiersuggestions run a command:npm run prettify