Skip to content

Commit

Permalink
Merge pull request #4508 from traPtitech/fix/unitTestTZ
Browse files Browse the repository at this point in the history
test: changed timezone for tests
  • Loading branch information
Pugma authored Jan 28, 2025
2 parents bf870c9 + b546360 commit 451901e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions vite.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -129,6 +129,9 @@ export default defineConfig(({ command, mode }) => ({
brotli()
],
test: {
env: {
TZ: 'UTC'
},
include: ['tests/unit/**/*.spec.ts'],
globals: true,
setupFiles: ['tests/unit/setup.ts', 'tests/unit/expectExtends.ts'],
Expand Down

0 comments on commit 451901e

Please sign in to comment.