Skip to content

Latest commit

 

History

History
29 lines (18 loc) · 629 Bytes

File metadata and controls

29 lines (18 loc) · 629 Bytes

Tests

Running tests

Tests can be run through the test running script: npm test.

View its options with: npm test -- --help.

Options are default on or off depending on whether they need a specific environment setup to run. E.g. the e2e tests don't run by default because you need to run a rari and fred server.

Examples

To run only unit tests:

npm test -- --lint false

To run e2e tests against already running fred and rari servers:

npm test -- --e2e

To only run e2e tests and bring up a fred dev server and rari server:

npm test -- --lint false --unit false --e2e --fred dev --rari