Skip to content

Commit 52db7ee

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

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/tests/utils/timePresets.spec.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@ import { getTimePresetRange, getTimePresets } from '../../utils/timePresets.js'
99

1010
vi.mock('@nextcloud/l10n', () => ({
1111
t: (_app: string, text: string) => text,
12+
isRTL: vi.fn(() => false),
1213
}))
1314

1415
describe('getTimePresets', () => {

0 commit comments

Comments
 (0)