Skip to content

Commit

Permalink
restore router to test services
Browse files Browse the repository at this point in the history
  • Loading branch information
Beth Shook committed Apr 16, 2024
1 parent f599851 commit dad580b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ export interface AppServices {
analytics: typeof analytics;
archiveLoader: ReturnType<typeof createArchiveLoader>;
buyPrintConfigLoader: ReturnType<typeof createBuyPrintConfigLoader>;
router?: RouterService;
router: RouterService;
config: typeof config;
fontCollector: FontCollector;
highlightClient: ReturnType<typeof createHighlightClient>;
Expand Down
1 change: 1 addition & 0 deletions src/test/createTestServices.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ export const createTestServices = (args?: {prefetchResolutions: boolean}) => ({
searchClient: new SearchApi(),
userLoader: mockUserLoader(),
imageCDNUtils: createImageCDNUtils(args),
router: createRouterService(routes),
});

export default createTestServices;

0 comments on commit dad580b

Please sign in to comment.