We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1d12ce7 commit 9829ee8Copy full SHA for 9829ee8
__tests__/historyUnitTest.js
@@ -17,12 +17,12 @@ import "@testing-library/jest-dom/extend-expect";
17
// import store from "../src/client/store";
18
19
//generate date for today
20
-let today = new Date();
+const today = new Date();
21
//generate date for yesterday
22
-let yesterday = new Date();
+const yesterday = new Date();
23
yesterday.setDate(yesterday.getDate() - 1);
24
//generate date for two days prior
25
-let twoDaysAgo = new Date();
+const twoDaysAgo = new Date();
26
twoDaysAgo.setDate(twoDaysAgo.getDate() - 2);
27
28
describe("history container test", () => {
0 commit comments