mirror of
https://github.com/typeorm/typeorm.git
synced 2025-12-08 21:26:23 +00:00
chore(test): set timezone to UTC (#11247)
Fixes #11246 To mitigate timezone discrepancies with timestamps in tests with hard coded assertions, standardize on UTC Co-authored-by: Mike Guida <mike@mguida.com>
This commit is contained in:
parent
deb0e81398
commit
ba47b62379
@ -2,6 +2,9 @@ import "source-map-support/register"
|
||||
import "reflect-metadata"
|
||||
import * as chai from "chai"
|
||||
|
||||
// Tests assume UTC time zone when formatting/parsing dates.
|
||||
process.env.TZ = "UTC"
|
||||
|
||||
chai.should()
|
||||
chai.use(require("sinon-chai"))
|
||||
chai.use(require("chai-as-promised"))
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user