How to use it?
To add library to the project dependencies run:
$ yarn add @hmcts/cmc-validators
$ npm install @hmcts/cmc-validators
Install dependencies by executing the following command:
$ yarn install
Run the linting:
$ yarn lint
Linting will also run automatically prior to committing changes.
Running the tests
Mocha is used for writing tests.
Run them with:
$ yarn test
For test coverage run:
$ yarn test:coverage
This project is licensed under the MIT License - see the LICENSE file for details