Fix test setup to prevent warning
This commit is contained in:
parent
c68057448e
commit
b785e327c6
|
|
@ -6,14 +6,12 @@ import I18NextVue from "i18next-vue";
|
|||
import { expect, vi } from "vitest";
|
||||
|
||||
describe("AttendanceStatus.vue", async () => {
|
||||
beforeEach(async () => {
|
||||
vi.useFakeTimers();
|
||||
const date = new Date(1999, 2, 31);
|
||||
vi.setSystemTime(date);
|
||||
await i18nextInit();
|
||||
await loadI18nextLocaleMessages("de");
|
||||
config.global.plugins = [[I18NextVue, { i18next }]];
|
||||
});
|
||||
|
||||
test("Attendance check complete", () => {
|
||||
const wrapper = mount(AttendanceStatus, {
|
||||
|
|
|
|||
Loading…
Reference in New Issue