Ember Testing

Run in a browser using this URL, http://localhost:4200/tests

ember-cli-code-coverage

Run the tests using:

pnpm test:ember

View the test results:

firefox coverage/index.html

Tip

Check https://www.kbsoftware.co.uk/crm/ticket/6728/ on 11/03/2024 for notes on how to configure.

MSW

To use MSW mocks for development, set the loginRoute to login-pass:

// front/config/environment.js
if (environment === 'development') {
  ENV.APP.loginRoute = 'login-pass'