Skip to content

Commit c93c771

Browse files
committed
test: complete l10n mock backport for Request view spec
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 3434487 commit c93c771

1 file changed

Lines changed: 1 addition & 4 deletions

File tree

src/tests/views/Request.spec.ts

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,10 +18,7 @@ const sidebarStoreMock = {
1818
isVisible: false,
1919
}
2020

21-
vi.mock('@nextcloud/l10n', async () => {
22-
const { createL10nMock } = await import('../testHelpers/l10n.js')
23-
return createL10nMock()
24-
})
21+
vi.mock('@nextcloud/l10n', () => globalThis.mockNextcloudL10n())
2522

2623
vi.mock('../../store/files.js', () => ({
2724
useFilesStore: vi.fn(() => filesStoreMock),

0 commit comments

Comments
 (0)