Skip to content

Commit

Permalink
Revert "Remove getNow override for testing"
Browse files Browse the repository at this point in the history
This reverts commit ab61cf3.
  • Loading branch information
MattIPv4 committed Nov 23, 2023
1 parent ac9531d commit 8250474
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/util/now.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
// Util to allow for easy overriding when testing
const getNow = () => new Date();
// TODO: switch back to new Date() when we're done testing
const getNow = () => new Date("2023-12-01T23:15:00.000Z");

export default getNow;

0 comments on commit 8250474

Please sign in to comment.