70bf21e064
Deploy (to testing) and Test Playground Preview Worker / Deploy Playground Preview Worker (testing) (push) Has been skipped
Deploy Workers Shared Staging / Deploy Workers Shared Staging (push) Failing after 0s
Prerelease / build (push) Has been skipped
Handle Changesets / Handle Changesets (push) Has been cancelled
Semgrep OSS scan / semgrep-oss (push) Has been cancelled
9 lines
392 B
TypeScript
9 lines
392 B
TypeScript
export function setup(): void {
|
|
// Set `LC_ALL` to fix the language as English for the messages thrown by Yargs,
|
|
// and to make any uses of datetimes in snapshots consistent.
|
|
// This needs to be in a globalSetup script - it won't work in a setupFile script.
|
|
// https://github.com/vitest-dev/vitest/issues/1575#issuecomment-1439286286
|
|
process.env.LC_ALL = "C";
|
|
process.env.TZ = "UTC";
|
|
}
|