Skip to content

Commit 44b3228

Browse files
committed
reset getToday function constant return in test env
1 parent d6f22d2 commit 44b3228

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/scripts/util.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ export const generateUniqueId: () => string =
66

77
export const getToday =
88
process.env.NODE_ENV === 'test'
9-
? () => '2017-02-23'
9+
? () => '2022-05-18'
1010
: () => new Date().toISOString().substring(0, 10);
1111

1212
let assetRoot = '/assets';

0 commit comments

Comments
 (0)