Skip to content

Commit

Permalink
add: log details on sample time in tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Mitsunee committed Nov 23, 2024
1 parent e4e6dc8 commit 3b78ecc
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions tests/formatTime.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,10 @@ import { getLocalTimezone } from "./utils/getLocalTimezone";
const localTz = getLocalTimezone();
const sampleDate = new Date(`2024-11-23T00:17:32.123${localTz}`);

console.log(
`Created sample time with offset ${localTz}: ${sampleDate.toLocaleString()}`
);

// TODO: messages on all of these tests below

test("basic date variables", () => {
Expand Down

0 comments on commit 3b78ecc

Please sign in to comment.