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';
|
|
};
|