Skip to content
This repository has been archived by the owner on Nov 28, 2024. It is now read-only.

Commit

Permalink
Tests: Expect the date timezone to be UTC
Browse files Browse the repository at this point in the history
Locally my timezone is +2, so this test makes sense in that context.
However, ideally it should try to detect the timezone.
  • Loading branch information
vHanda committed Sep 11, 2018
1 parent 3d60367 commit 1da0bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/parser.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ describe("Parser", function() {
);
expect(note.tags).toEqual(["Reading List", "Another Tag"]);
expect(note.archived).toBe(false);
expect(note.date).toBe("2016-06-21T20:39:47.000Z");
expect(note.date).toBe("2016-06-21T22:39:47.000Z");
});
});

0 comments on commit 1da0bce

Please sign in to comment.