Skip to content

Commit 6ee41e0

Browse files
test: standardize l10n mock usage in SigningMode.spec.ts
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent cf805b0 commit 6ee41e0

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/tests/views/Settings/SigningMode.spec.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,6 @@
44
*/
55

66
import { beforeEach, describe, expect, it, vi } from 'vitest'
7-
import { createL10nMock } from '../../testHelpers/l10n.js'
87
import { mount } from '@vue/test-utils'
98
import axios from '@nextcloud/axios'
109

@@ -16,7 +15,7 @@ vi.mock('@nextcloud/initial-state', () => ({
1615
loadState: (...args: unknown[]) => loadStateMock(...args),
1716
}))
1817

19-
vi.mock('@nextcloud/l10n', () => createL10nMock())
18+
vi.mock('@nextcloud/l10n', () => globalThis.mockNextcloudL10n())
2019

2120
vi.mock('@nextcloud/axios', () => ({
2221
default: {

0 commit comments

Comments
 (0)