test: switch to node.js test runner
[e-mobility-charging-stations-simulator.git] / package.json
index a940fa98f98aa446a0f1e9ceaf4d98e5c9068c4b..965854acf2a49df0b6701d0c8307c04d7c5d9ed8 100644 (file)
@@ -7,8 +7,8 @@
     "pnpm": ">=8.6.0"
   },
   "volta": {
-    "node": "20.7.0",
-    "pnpm": "8.7.6"
+    "node": "20.8.0",
+    "pnpm": "8.8.0"
   },
   "repository": {
     "type": "git",
     "lint": "cross-env TIMING=1 eslint --cache src",
     "lint:fix": "cross-env TIMING=1 eslint --cache --fix src",
     "format": "prettier --cache --write .",
-    "test": "c8 mocha test/**/*.test.ts",
-    "test:debug": "mocha --no-parallel --inspect test/**/*.test.ts",
+    "test": "c8 node --loader tsx --no-warnings=ExperimentalWarning --test test/**/*.test.ts",
+    "test:debug": "node --loader tsx --no-warnings=ExperimentalWarning --test --inspect test/**/*.test.ts",
     "coverage": "c8 report --reporter=lcov",
     "coverage:html": "c8 report --reporter=html",
     "clinic:clean": "clinic clean",
-    "robohydra": "robohydra test/robohydra/config.json",
     "git:sinit": "git submodule update --init --recursive --force",
     "git:sdiff": "git diff && git submodule foreach 'git diff'",
     "git:supdate": "git submodule update --remote --recursive --merge",
     }
   },
   "dependencies": {
-    "@mikro-orm/core": "^5.8.3",
-    "@mikro-orm/mariadb": "^5.8.3",
-    "@mikro-orm/reflection": "^5.8.3",
-    "@mikro-orm/sqlite": "^5.8.3",
+    "@mikro-orm/core": "^5.8.4",
+    "@mikro-orm/mariadb": "^5.8.4",
+    "@mikro-orm/reflection": "^5.8.4",
+    "@mikro-orm/sqlite": "^5.8.4",
     "ajv": "^8.12.0",
     "ajv-formats": "^2.1.1",
     "basic-ftp": "^5.0.3",
     "logform": "^2.5.1",
     "mnemonist": "^0.39.5",
     "mongodb": "^6.1.0",
-    "poolifier": "^2.7.3",
+    "poolifier": "^2.7.4",
     "source-map-support": "^0.5.21",
     "tar": "^6.2.0",
     "tslib": "^2.6.2",
     "utf-8-validate": "^6.0.3"
   },
   "devDependencies": {
-    "@commitlint/cli": "^17.7.1",
+    "@commitlint/cli": "^17.7.2",
     "@commitlint/config-conventional": "^17.7.0",
-    "@mikro-orm/cli": "^5.8.3",
+    "@mikro-orm/cli": "^5.8.4",
     "@release-it/bumper": "^5.1.0",
     "@rollup/plugin-json": "^6.0.0",
     "@rollup/plugin-terser": "^0.4.3",
-    "@rollup/plugin-typescript": "^11.1.3",
-    "@types/mocha": "^10.0.1",
-    "@types/mochawesome": "^6.2.1",
-    "@types/node": "^20.6.4",
-    "@types/sinon": "^10.0.16",
+    "@rollup/plugin-typescript": "^11.1.4",
+    "@types/node": "^20.7.1",
+    "@types/sinon": "^10.0.17",
     "@types/tar": "^6.1.6",
-    "@types/ws": "^8.5.5",
-    "@typescript-eslint/eslint-plugin": "^6.7.2",
-    "@typescript-eslint/parser": "^6.7.2",
+    "@types/ws": "^8.5.6",
+    "@typescript-eslint/eslint-plugin": "^6.7.3",
+    "@typescript-eslint/parser": "^6.7.3",
     "@web/rollup-plugin-copy": "^0.4.0",
     "auto-changelog": "^2.4.0",
     "c8": "^8.0.1",
     "expect": "^29.7.0",
     "husky": "^8.0.3",
     "lint-staged": "^14.0.1",
-    "mocha": "^10.2.0",
-    "mochawesome": "^7.1.3",
     "prettier": "^3.0.3",
-    "release-it": "^16.2.0",
-    "rimraf": "^5.0.1",
-    "robohydra": "^0.6.9",
-    "rollup": "^3.29.3",
+    "release-it": "^16.2.1",
+    "rimraf": "^5.0.5",
+    "rollup": "^3.29.4",
     "rollup-plugin-analyzer": "^4.0.0",
     "rollup-plugin-delete": "^2.0.0",
     "semver": "^7.5.4",
     "sinon": "^16.0.0",
-    "ts-node": "^10.9.1",
+    "tsx": "^3.13.0",
     "typescript": "~5.2.2"
   }
 }