Configure Routing

How do I set the routing configuration?

Lastly, routing is enabled by default between the components. If desired, you can disable routing for isolated testing.

To disable routing, open /library/src/shared/constants/test.constants.ts, edit the ComponentConfig, and set the routing property to false, like in the below example:

static CONFIG: ComponentConfig = {
    refreshInterval: 5000,
    locale: 'en-US',
    theme: 'LIGHT',
    routing: false, // <-- change this from true to false
    customer: TestConstants.CUSTOMER_GUID,
    fiat: 'USD'