From: Jérôme Benoit Date: Mon, 24 Nov 2025 10:49:55 +0000 (+0100) Subject: test: remove glob usage X-Git-Tag: ocpp-server@v2.2.0~32 X-Git-Url: https://git.piment-noir.org/?a=commitdiff_plain;h=63d7181d9ba3a32ec96ca5f270dee11bb2278fef;p=e-mobility-charging-stations-simulator.git test: remove glob usage Signed-off-by: Jérôme Benoit --- diff --git a/package.json b/package.json index 7cd91e5f..fb447a22 100644 --- a/package.json +++ b/package.json @@ -67,8 +67,8 @@ "lint": "cross-env TIMING=1 eslint --cache src tests scripts ./*.js ./*.ts", "lint:fix": "cross-env TIMING=1 eslint --cache --fix src tests scripts ./*.js ./*.ts", "format": "prettier --cache --write .; eslint --cache --fix src tests scripts ./*.js ./*.ts", - "test": "glob -c \"c8 node --import tsx --test\" \"tests/**/*.test.ts\"", - "test:debug": "glob -c \"node --import tsx --test --inspect\" \"tests/**/*.test.ts\"", + "test": "c8 node --import tsx --test tests/**/*.test.ts", + "test:debug": "node --import tsx --test --inspect tests/**/*.test.ts", "coverage": "c8 report --reporter=lcov", "coverage:html": "c8 report --reporter=html", "clinic:clean": "clinic clean", @@ -118,7 +118,6 @@ "eslint-plugin-jsdoc": "^61.4.0", "eslint-plugin-perfectionist": "^4.15.1", "eslint-plugin-vue": "^10.6.0", - "glob": "^13.0.0", "husky": "^9.1.7", "lint-staged": "^16.2.7", "neostandard": "^0.12.2", diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 20a5da08..efd4e3fc 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -130,9 +130,6 @@ importers: eslint-plugin-vue: specifier: ^10.6.0 version: 10.6.0(@stylistic/eslint-plugin@2.11.0(eslint@9.39.1(jiti@2.6.1))(typescript@5.9.3))(@typescript-eslint/parser@8.46.4(eslint@9.39.1(jiti@2.6.1))(typescript@5.9.3))(eslint@9.39.1(jiti@2.6.1))(vue-eslint-parser@10.2.0(eslint@9.39.1(jiti@2.6.1))) - glob: - specifier: ^13.0.0 - version: 13.0.0 husky: specifier: ^9.1.7 version: 9.1.7 @@ -11036,7 +11033,7 @@ snapshots: md5.js@1.3.5: dependencies: - hash-base: 3.0.5 + hash-base: 3.1.2 inherits: 2.0.4 safe-buffer: 5.2.1