Skip to content

Commit

Permalink
update test for datetime selector
Browse files Browse the repository at this point in the history
  • Loading branch information
sixlighthouses committed Aug 17, 2023
1 parent c522032 commit 0648867
Showing 1 changed file with 1 addition and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +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-01T00:00:00.000Z")
);
const expectedDateStr = formatDateTime(new Date("2014-01-01"));

expect(currentDateBtn.children[0].children[0].children[0]).toEqual(
expectedDateStr
Expand Down

0 comments on commit 0648867

Please sign in to comment.