Skip to content

Commit

Permalink
ci: enable unit tests and define timezone for testing environment (#92)
Browse files Browse the repository at this point in the history
PR-URL: #92
  • Loading branch information
AugustinMauroy authored Jun 23, 2024
1 parent 05a5dd2 commit c52eac7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/code_health.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:
run: npm run lint

- name: Test
run: npm run rss:build
run: npm run test

- name: RSS Build
run: npm run rss:build
Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
"website:build": "node scripts/build-website.js",
"lint": "standard",
"lint:fix": "standard --fix",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles --forceExit --verbose",
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles --forceExit --verbose --coverage",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles --forceExit --verbose --watchAll"
"test": "env TZ='Europe/Amsterdam' node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles --forceExit --verbose",
"test:coverage": "env TZ='Europe/Amsterdam' node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles --forceExit --verbose --coverage",
"test:watch": "env TZ='Europe/Amsterdam' node --experimental-vm-modules node_modules/jest/bin/jest.js --detectOpenHandles --forceExit --verbose --watchAll"
},
"standard": {
"env": [
Expand Down

0 comments on commit c52eac7

Please sign in to comment.