Fix LocaleController tests

pull/12960/head
Sage Abdullah 2025-03-12 15:39:23 +07:00
rodzic cbfaecdfae
commit 3d9a868a97
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: EB1A33CC51CC0217
1 zmienionych plików z 4 dodań i 0 usunięć
client/src/controllers

Wyświetl plik

@ -2,6 +2,10 @@ import { Application } from '@hotwired/stimulus';
import { LocaleController } from './LocaleController';
import { InitController } from './InitController';
// Ensure the labels are consistent with the snapshot regardless of DST.
jest.useFakeTimers();
jest.setSystemTime(new Date('2025-01-11'));
describe('LocaleController', () => {
let app;
let select;