Add unittest coverage for engine-factory.

This commit is contained in:
Dermot Duffy
2023-04-04 21:55:52 -07:00
parent 5cd5809094
commit 7071f2ff63
7 changed files with 1082 additions and 15 deletions
+7 -2
View File
@@ -59,6 +59,7 @@
"@types/lodash-es": "^4.17.5",
"@typescript-eslint/eslint-plugin": "^5.36.2",
"@typescript-eslint/parser": "^5.36.2",
"@vitest/coverage-c8": "^0.29.8",
"eslint": "^8.23.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-config-prettier": "^8.5.0",
@@ -74,14 +75,18 @@
"rollup-plugin-visualizer": "^5.8.2",
"sass": "^1.54.9",
"ts-prune": "^0.10.3",
"typescript": "^4.9.5"
"typescript": "^4.9.5",
"vitest": "^0.29.8",
"vitest-mock-extended": "^1.1.3"
},
"scripts": {
"start": "rollup -c --watch",
"build": "yarn run lint && yarn run rollup",
"lint": "eslint 'src/**/*.ts'",
"rollup": "rollup -c",
"prune": "ts-prune"
"prune": "ts-prune",
"test": "vitest run",
"coverage": "vitest run --coverage"
},
"volta": {
"node": "18.14.0",