Skip to content

Commit a7be6cf

Browse files
authored
Fix broken unit test that relies on date (#1914)
1 parent 40a7dd0 commit a7be6cf

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

extensions/ql-vscode/test/unit-tests/pure/date.test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import { formatDate } from "../../../src/pure/date";
22

33
describe("Date", () => {
44
it("should return a formatted date", () => {
5-
expect(formatDate(new Date(1663326904000))).toBe("Sep 16, 11:15 AM");
5+
expect(formatDate(new Date(1663326904000))).toBe("Sep 16, 2022, 11:15 AM");
66
expect(formatDate(new Date(1631783704000))).toBe("Sep 16, 2021, 9:15 AM");
77
});
88
});

0 commit comments

Comments
 (0)