This is the frontend for the protected characteristics questionnaire service. This service will ask a set of questions that will help us check we are treating people fairly and equally. It helps us to meet our commitment to equality (under the Equality Act 2010).
Install dependencies by executing the following command:
$ yarn install
Sass:
$ yarn setup
Git hooks:
We have git hooks that enforce rules for commit messages.
These can be activated by running the following commands:
$ ln -s ../../pre-commit.sh .git/hooks/pre-commit
$ ln -s ../../commit-msg.sh .git/hooks/commit-msg
Run the application local server:
$ yarn start
Open https://localhost:4000 in a browser
Before submitting a Pull Request you will be required to run:
$ yarn eslint
We have a number of rules relating to code style that can be found in .eslintrc.js.
Mocha is used for writing tests.
The test suite can be run with:
$ yarn test
For unit tests:
$ yarn test-unit
For component tests:
$ yarn test-component
For accessibility tests:
$ yarn test-accessibility
For test coverage:
$ yarn test-coverage
This project is licensed under the MIT License - see the LICENSE file for details