diff --git a/test/ReactViews/Workbench/Controls/DateTimeSelectorSectionSpec.tsx b/test/ReactViews/Workbench/Controls/DateTimeSelectorSectionSpec.tsx index fd7aa60cb91..1f986070ea6 100644 --- a/test/ReactViews/Workbench/Controls/DateTimeSelectorSectionSpec.tsx +++ b/test/ReactViews/Workbench/Controls/DateTimeSelectorSectionSpec.tsx @@ -39,7 +39,7 @@ describe("DateTimeSelectorSection", function () { expect(buttons).toBeDefined(); expect(buttons.length).toEqual(5); // Need to do it the longer way because Travis runs in a diff locale - const expectedDateStr = formatDateTime(new Date("2014-01-01")); + const expectedDateStr = "2014-01-01"; expect(currentDateBtn.children[0].children[0].children[0]).toEqual( expectedDateStr