Skip to content
Snippets Groups Projects
Commit 24c82494 authored by Atte Keinänen's avatar Atte Keinänen
Browse files

Fix calendar unit test

parent 2e887618
No related branches found
No related tags found
No related merge requests found
......@@ -21,6 +21,7 @@ describe("Calendar", () => {
});
it("should switch months correctly", () => {
mockDate.set('2018-01-12T12:00:00Z', 0);
const calendar = mount(
<Calendar selected={moment("2018-01-01")} onChange={() => {}}/>
);
......
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