Skip to content

Commit

Permalink
fix for failing unit test, use UTC as timezone (#3254) (#3259)
Browse files Browse the repository at this point in the history
fixes #3254
  • Loading branch information
khassel authored Oct 31, 2023
1 parent a8d06ae commit 3a01acd
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ _This release is scheduled to be released on 2024-01-01._
- Fix cloneObject() function to respect RegExp (#3237)
- Fix newsfeed module for feeds using "a10:updated" tag (#3238)
- Fix issue template (#3167)
- Hotfix for failing unit test (#3254)
- Fix for failing unit test (#3254)

## [2.25.0] - 2023-10-01

Expand Down
2 changes: 1 addition & 1 deletion tests/unit/helpers/global-setup.js
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module.exports = async () => {
process.env.TZ = "Europe/Berlin";
process.env.TZ = "UTC";
};
2 changes: 1 addition & 1 deletion tests/unit/modules/default/utils_spec.js
Original file line number Diff line number Diff line change
Expand Up @@ -160,7 +160,7 @@ describe("Default modules utils tests", () => {
},
time
)
).toBe("08:13");
).toBe("09:13");
});
});
});

0 comments on commit 3a01acd

Please sign in to comment.