UNPKG

@valantic/spartacus-mock

Version:

This project offers you the possibility to mock the OCC Endpoints of your Composable Storefront (Spartacus). It uses the Mock Service Worker to mock the API calls.

11 lines (10 loc) 368 B
import { Pages } from '../../types'; import { PageFactoryService } from './page-factory.service'; /** * !!! Please note: !!! * * The mock server compares the routes by using startsWith(), therefore, routes starting with the same word * need to be in the correct order!!! * */ export declare const defaultPages: (pageFactoryService: PageFactoryService) => Pages;