Skip to content

Commit

Permalink
fix date test
Browse files Browse the repository at this point in the history
  • Loading branch information
sixlighthouses committed Aug 17, 2023
1 parent 0648867 commit 71877bc
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 71877bc

Please sign in to comment.