Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 

README.md

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