Skip to content

Commit

Permalink
test(logging): fix local test running (#5727)
Browse files Browse the repository at this point in the history
The tests were assuming UTC timezone, so running in any other timezone fails. CI runs in UTC by default, so that was going fine.
  • Loading branch information
eventualbuddha authored Dec 11, 2024
1 parent 3f40050 commit c7dafd6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions libs/logging/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
"lint": "pnpm type-check && eslint .",
"lint:fix": "pnpm type-check && eslint . --fix",
"test": "is-ci test:ci test:watch",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:watch": "TZ=UTC jest --watch",
"test:coverage": "TZ=UTC jest --coverage",
"test:ci": "pnpm build && pnpm test:coverage --reporters=default --reporters=jest-junit --maxWorkers=6 && pnpm build:generate-typescript-types --check && pnpm build:generate-rust-types --check",
"pre-commit": "lint-staged"
},
Expand Down

0 comments on commit c7dafd6

Please sign in to comment.