Skip to content

Commit f377510

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

1 file changed

Lines changed: 1 addition & 2 deletions

File tree

src/tests/views/Account/partials/Signatures.spec.ts

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

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

109
import Signatures from '../../../../views/Account/partials/Signatures.vue'
1110

12-
vi.mock('@nextcloud/l10n', () => createL10nMock())
11+
vi.mock('@nextcloud/l10n', () => globalThis.mockNextcloudL10n())
1312

1413
vi.mock('@nextcloud/capabilities', () => ({
1514
getCapabilities: vi.fn(() => ({

0 commit comments

Comments
 (0)