mirror of
https://github.com/MichMich/MagicMirror.git
synced 2025-06-27 19:53:36 +00:00
Update coverage and jest settings (#3038)
Co-authored-by: veeck <michael@veeck.de>
This commit is contained in:
parent
88c7e42368
commit
65aa1b0ddc
3
.github/codecov.yaml
vendored
3
.github/codecov.yaml
vendored
@ -4,3 +4,6 @@ coverage:
|
|||||||
default:
|
default:
|
||||||
# advanced settings
|
# advanced settings
|
||||||
informational: true
|
informational: true
|
||||||
|
patch:
|
||||||
|
default:
|
||||||
|
threshold: 0%
|
||||||
|
@ -28,11 +28,12 @@ _This release is scheduled to be released on 2023-04-01._
|
|||||||
|
|
||||||
- Use develop as target branch for dependabot
|
- Use develop as target branch for dependabot
|
||||||
- Update issue template and contributing doc
|
- Update issue template and contributing doc
|
||||||
- The weather modules clearly separates precipation amount and probability (risk of rain/snow)
|
- The weather modules clearly separates precipitation amount and probability (risk of rain/snow)
|
||||||
- This requires all providers that only supports probability to change the config from `showPrecipitationAmount` to `showPrecipitationProbability`.
|
- This requires all providers that only supports probability to change the config from `showPrecipitationAmount` to `showPrecipitationProbability`.
|
||||||
- Update tests for weather and calendar module
|
- Update tests for weather and calendar module
|
||||||
- Changed updatenotification module for MagicMirror repo only: Send only notifications for `master` if there is a tag on a newer commit
|
- Changed updatenotification module for MagicMirror repo only: Send only notifications for `master` if there is a tag on a newer commit
|
||||||
- Update dates in Calendar widgets every minute
|
- Update dates in Calendar widgets every minute
|
||||||
|
- Cleanup jest coverage for patches
|
||||||
|
|
||||||
### Fixed
|
### Fixed
|
||||||
|
|
||||||
|
@ -13,7 +13,7 @@
|
|||||||
"install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
|
"install-fonts": "echo \"Installing fonts ...\n\" && cd fonts && npm install --loglevel=error --no-audit --no-fund --no-update-notifier",
|
||||||
"postinstall": "npm run install-vendor && npm run install-fonts && echo \"MagicMirror² installation finished successfully! \n\"",
|
"postinstall": "npm run install-vendor && npm run install-fonts && echo \"MagicMirror² installation finished successfully! \n\"",
|
||||||
"test": "NODE_ENV=test jest -i --forceExit",
|
"test": "NODE_ENV=test jest -i --forceExit",
|
||||||
"test:coverage": "NODE_ENV=test jest --coverage -i --forceExit",
|
"test:coverage": "NODE_ENV=test jest --coverage -i --verbose false --forceExit",
|
||||||
"test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
|
"test:electron": "NODE_ENV=test jest --selectProjects electron -i --forceExit",
|
||||||
"test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
|
"test:e2e": "NODE_ENV=test jest --selectProjects e2e -i --forceExit",
|
||||||
"test:unit": "NODE_ENV=test jest --selectProjects unit -i --forceExit",
|
"test:unit": "NODE_ENV=test jest --selectProjects unit -i --forceExit",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user