Skip to content

Commit 9829ee8

Browse files
committed
history container unit test update
1 parent 1d12ce7 commit 9829ee8

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

__tests__/historyUnitTest.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -17,12 +17,12 @@ import "@testing-library/jest-dom/extend-expect";
1717
// import store from "../src/client/store";
1818

1919
//generate date for today
20-
let today = new Date();
20+
const today = new Date();
2121
//generate date for yesterday
22-
let yesterday = new Date();
22+
const yesterday = new Date();
2323
yesterday.setDate(yesterday.getDate() - 1);
2424
//generate date for two days prior
25-
let twoDaysAgo = new Date();
25+
const twoDaysAgo = new Date();
2626
twoDaysAgo.setDate(twoDaysAgo.getDate() - 2);
2727

2828
describe("history container test", () => {

0 commit comments

Comments
 (0)