Skip to content

Latest commit

 

History

History
39 lines (25 loc) · 579 Bytes

File metadata and controls

39 lines (25 loc) · 579 Bytes

Tests

Running tests

Tests can be run through the test running script: npm test -- <command>.

View available commands with: npm test -- --help.

Examples

To run unit tests:

npm test -- unit

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

npm test -- e2e

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

npm test -- e2e --fred dev --rari

To run only some files:

npm test -- e2e --spec test/specs/playground.e2e.js

To exclude files:

npm test -- e2e --exclude test/specs/layout.e2e.js