From 79030eafe9bc061ed773932e0585980d37619e73 Mon Sep 17 00:00:00 2001 From: Gilgard <Hjelljord.alida@gmail.com> Date: Thu, 5 May 2022 18:07:16 +0200 Subject: [PATCH] Test changed to pass english/norwegian for CI --- .../date-range-picker-tests/month-selector-test.spec.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/unit/component-tests/time-picker-components-tests/date-range-picker-tests/month-selector-test.spec.js b/tests/unit/component-tests/time-picker-components-tests/date-range-picker-tests/month-selector-test.spec.js index 177ab83..a6499c8 100644 --- a/tests/unit/component-tests/time-picker-components-tests/date-range-picker-tests/month-selector-test.spec.js +++ b/tests/unit/component-tests/time-picker-components-tests/date-range-picker-tests/month-selector-test.spec.js @@ -6,7 +6,7 @@ describe("MonthSelector tests", () => { beforeEach(() => { wrapper = shallowMount(monthSelector, { propsData: { - month: new Date(1651739228545), // 05 May 2022 UTC + month: new Date(0), // 01 JAN 1970 UTC type: "type", }, }); @@ -25,8 +25,8 @@ describe("MonthSelector tests", () => { expect(children.length).toBe(2); // Check children content - expect(children[0].text()).toBe("MAI"); - expect(children[1].text()).toBe("2022"); + expect(children[0].text()).toBe("JAN"); + expect(children[1].text()).toBe("1970"); }); it("Check that changing are emitted", async () => { -- GitLab