Skip to content

Commit b8f46c1

Browse files
committed
fix: add mock to isrtl
Signed-off-by: Vitor Mattos <1079143+vitormattos@users.noreply.github.com>
1 parent 6d3c27a commit b8f46c1

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/tests/views/FilesList/FilesList.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ import { useUserConfigStore } from '../../../store/userconfig.js'
1313

1414
vi.mock('@nextcloud/l10n', () => ({
1515
t: vi.fn((_app: string, text: string) => text),
16+
isRTL: vi.fn(() => false),
1617
}))
1718

1819
vi.mock('@nextcloud/logger', () => ({

0 commit comments

Comments
 (0)