Skip to content
This repository has been archived by the owner on May 24, 2023. It is now read-only.

Latest commit

 

History

History
41 lines (26 loc) · 1.11 KB

README.md

File metadata and controls

41 lines (26 loc) · 1.11 KB

Grants Eligiblity Form React app CircleCI

This project was bootstrapped with Create React App.

Ensure all required modules are installed:

yarn install

To run the app in a node server, featuring SASS watching and recompiling:

yarn start

Build a static version of the form page in the /build folder:

yarn run build

Tests

We use cypress.io for running end-to-end tests.

To run and build new tests, run cypress in interactive mode. Cypress will open in a new window and you need to select the test spec file you'd like to run. You can experiment with new browsers, replay tests, and continue testing the app after tests have ran.

yarn cy:open

Make sure you are also running the app using yarn start.

To run the test suite as CI would run it, use

yarn test

This will run both the app and the tests at the same time.