Skip to content
Snippets Groups Projects
Commit 79030eaf authored by Gilgard's avatar Gilgard
Browse files

Test changed to pass english/norwegian for CI

parent 4a495d61
No related branches found
No related tags found
1 merge request!133Edit listing
Pipeline #181747 passed
......@@ -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 () => {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment