From bd0da6df13db25ff8f4604a553b3350467180aa8 Mon Sep 17 00:00:00 2001 From: hgw Date: Fri, 2 Feb 2024 03:26:14 +0000 Subject: [PATCH] mocha: move spec to invocation --- package.json | 3 ++- test/.mocharc.yml | 1 - 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 1cf2c920..42ce93f5 100644 --- a/package.json +++ b/package.json @@ -25,7 +25,8 @@ "lint": "run-p --aggregate-output --continue-on-error lint:*", "start": "node index start", "test": "run-p --aggregate-output --continue-on-error lint:* test:mocha", - "test:mocha": "webpack --mode=development && cross-env NODE_ENV=test TS_NODE_PROJECT='./test/tsconfig.json' mocha --config=test/.mocharc.yml", + "test:mocha": "webpack --mode=development && cross-env NODE_ENV=test TS_NODE_PROJECT='./test/tsconfig.json' mocha --config=test/.mocharc.yml 'test/**/*.ts'", + "test:nospec": "webpack --mode=development && cross-env NODE_ENV=test TS_NODE_PROJECT='./test/tsconfig.json' mocha --config=test/.mocharc.yml", "watch": "webpack --watch" }, "keywords": [ diff --git a/test/.mocharc.yml b/test/.mocharc.yml index c6a989c7..4e0d5796 100644 --- a/test/.mocharc.yml +++ b/test/.mocharc.yml @@ -2,7 +2,6 @@ color: true check-leaks: true recursive: true reporter: dot -spec: "test/**/*.ts" ignore: "test/client/**" extension: ["ts", "js"] require: