Skip to content

Latest commit

 

History

History
45 lines (29 loc) · 712 Bytes

README.md

File metadata and controls

45 lines (29 loc) · 712 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 test development server startup and automatic page reloads:

npm test -- e2e --fred dev --rari --config wdio.dev.conf.js

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