Skip to content
Snippets Groups Projects
Unverified Commit c971bd07 authored by Sebastian Poxhofer's avatar Sebastian Poxhofer Committed by GitHub
Browse files

test: set Node timezone in jest tests (#34141)

parent 4f390cf3
No related branches found
No related tags found
No related merge requests found
......@@ -121,6 +121,7 @@ const config: JestConfig = {
],
reporters: ci ? ['default', 'github-actions'] : ['default'],
resetMocks: true,
globalSetup: '<rootDir>/test/global-setup.ts',
setupFilesAfterEnv: [
'jest-extended/all',
'expect-more-jest',
......
export default function () {
// Set timezone so snapshots are consistent
process.env.TZ = 'UTC';
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment