Skip to content

Commit

Permalink
🐛
Browse files Browse the repository at this point in the history
  • Loading branch information
bastiaanv committed Dec 5, 2023
1 parent 11b0a36 commit 921851c
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 4 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"scripts": {
"build": "tsc && rollup --config rollup.config.js",
"check": "tsc --noEmit --skipLibCheck",
"test": "jest --coverage"
"test": "env TZ='Europe/Amsterdam' jest --coverage"
},
"author": "Bastiaan Verhaar",
"license": "ISC",
Expand Down
3 changes: 0 additions & 3 deletions tests/packets/generate.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -50,9 +50,6 @@ import { generatePacketLoopSetEventHistory } from '../../src/packets/dana.packet
import { generatePacketLoopSetTemporaryBasal } from '../../src/packets/dana.packet.loop.set.temporary.basal';
import { LoopHistoryEvents } from '../../src/packets/dana.type.loop.history.events.enum';

// Fix timezone issues in CI
process.env.TZ = 'Europe/Amsterdam';

describe('Generate packet tests (snapshot way)', () => {
it('Should generate basalCancelTemp', () => {
const packet = generatePacketBasalCancelTemporary();
Expand Down

0 comments on commit 921851c

Please sign in to comment.