mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2026-02-19 04:00:51 -05:00
react-calendar-heatmap's output depends on the timezone, which means that snapshots can fail if the timezone changes. This sets the timezone as UTC during client tests to avoid that problem.
4 lines
60 B
JavaScript
4 lines
60 B
JavaScript
module.exports = async () => {
|
|
process.env.TZ = 'UTC';
|
|
};
|