Skip to content

Latest commit

 

History

History
26 lines (18 loc) · 1.99 KB

TEST.md

File metadata and controls

26 lines (18 loc) · 1.99 KB

Quality Gate Status

Format

To format the code, just run the command npm run format at the root source folder, which would also fix the formatting errors. If instead you would like to only view the formatting problems then run npm run format:check. Formatting rules are defined inside .prettierrc. Files that are excluded from formatting are defined inside .prettierignore.

Lint

To run a static check on the code, run npm run lint at the root source folder. Lint rules are defined inside .eslintrc, and .eslintignore defines the files that are excluded from linting.

Test

To run the tests use the command npm run test at the root source folder. Testing code is inside the tests folder. Below is a list of files inside that folder, and the functionality they test.