Skip to content

Commit 04f3a83

Browse files
committed
ci: fix not all tests being run
Previously, we used shell expansion. Maybe it generated too many file names; in any case, tests like the sidecar-schema validator have been excluded. Now, we let mocha expand the wildcard expression.
1 parent 0e06e97 commit 04f3a83

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"build": "rimraf dist && tsc --skipLibCheck && cpy --flat src/schema/preparation/source-validation-modules/schema dist/src/schema/preparation/source-validation-modules/schema && dependency-check ./package.json --no-dev --ignore-module @arangodb --ignore-module internal",
1010
"prepublishOnly": "npm run build",
1111
"typecheck": "tsc --noEmit --skipLibCheck",
12-
"test": "rimraf dist && tsc --noEmit --skipLibCheck && mocha ./spec/**/*.spec.ts",
12+
"test": "rimraf dist && tsc --noEmit --skipLibCheck && mocha './spec/**/*.spec.ts'",
1313
"test:dropdb": "ts-node ./spec/regression/drop-test-db.ts",
1414
"test:perf": "node cruddl-bench",
1515
"test:coverage": "nyc --reporter=text-summary npm test",

0 commit comments

Comments
 (0)