mirror of
https://github.com/nextcloud/server.git
synced 2026-05-13 00:51:10 -04:00
test(core): align AppMenu mock with new icon helper
-e Signed-off-by: Peter Ringelmann <peter.ringelmann@nextcloud.com>
This commit is contained in:
parent
0917a80ee7
commit
490c6e7c06
1 changed files with 1 additions and 1 deletions
|
|
@ -39,7 +39,7 @@ vi.mock('@nextcloud/event-bus', () => eventBus)
|
|||
// Stub @nextcloud/router so we don't need a webroot for the moreApps URL.
|
||||
vi.mock('@nextcloud/router', () => ({
|
||||
generateUrl: (path: string) => path,
|
||||
generateFilePath: (app: string, type: string, file: string) => `/apps/${app}/${type}/${file}`,
|
||||
imagePath: (app: string, file: string) => `/${app}/img/${file}`,
|
||||
}))
|
||||
|
||||
// Build a minimal nav entry that satisfies INavigationEntry.
|
||||
|
|
|
|||
Loading…
Reference in a new issue