Skip to content

Commit

Permalink
fix test failing when TZ env variable is modified (#5734)
Browse files Browse the repository at this point in the history
  • Loading branch information
nightwing authored Jan 30, 2025
1 parent a4b9d2d commit 6f05b92
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/snippets_test.js
Original file line number Diff line number Diff line change
Expand Up @@ -223,7 +223,7 @@ module.exports = {
editor.setValue("foo\nbar");
editor.selectAll();
var D = Date;
var d = new Date(0);
var d = new Date('1970-01-01T00:00:00');
d.setHours(4);
d.setMinutes(0);
Date = function() { return d; }; // eslint-disable-line
Expand Down

0 comments on commit 6f05b92

Please sign in to comment.