Refactor mock-data for weather-tests generation (#3000)

Refactored the mock data generation for the tests so we can use plain
JSON files for the data and read it in a more general way.

Comments welcome!

Co-authored-by: veeck <michael@veeck.de>
This commit is contained in:
Veeck
2023-01-11 21:47:20 +01:00
committed by GitHub
parent 6e80e5a295
commit 877f8ad380
12 changed files with 1475 additions and 1392 deletions

View File

@@ -49,17 +49,17 @@
},
"homepage": "https://magicmirror.builders",
"devDependencies": {
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-jest": "^27.2.0",
"eslint-config-prettier": "^8.6.0",
"eslint-plugin-jest": "^27.2.1",
"eslint-plugin-jsdoc": "^39.6.4",
"eslint-plugin-prettier": "^4.2.1",
"express-basic-auth": "^1.2.1",
"husky": "^8.0.2",
"husky": "^8.0.3",
"jest": "^29.3.1",
"jsdom": "^20.0.3",
"jsdom": "^21.0.0",
"lodash": "^4.17.21",
"playwright": "^1.29.1",
"prettier": "^2.8.1",
"playwright": "^1.29.2",
"prettier": "^2.8.2",
"pretty-quick": "^3.1.3",
"sinon": "^15.0.1",
"stylelint": "^14.16.1",