From 63588887a7377f3ee7488b19c87f1f2bf1faa811 Mon Sep 17 00:00:00 2001 From: "Xunnamius (Romulus)" Date: Sun, 16 Oct 2022 09:44:59 -0700 Subject: [PATCH] build(package): use actual test ignore regex pattern --- package.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index c39ab5e..75f3392 100644 --- a/package.json +++ b/package.json @@ -20,10 +20,11 @@ "list-tasks": "node -e 'console.log(Object.keys(require(\"./package.json\").scripts).join(\"\\n\"))' && npm run -ws list-tasks --if-present", "prepare": "if [ -z \"$CI\" ] && ([ -z \"$NODE_ENV\" ] || [ \"$NODE_ENV\" = \"development\" ]); then husky install; if [ -r .husky/post-checkout ]; then .husky/post-checkout; fi; else echo 'skipped installing husky git hooks'; fi", "test": "npm run test:unit --", + "test:all": "NODE_ENV=test jest --coverage", "test:integration": "NODE_ENV=test jest", "test:repeat:all": "npm run __test:repeat:all --silent", "test:repeat:unit": "npm run __test:repeat:unit --silent", - "test:unit": "NODE_ENV=test jest --coverage --testPathIgnorePatterns test/integration-*.test.ts* dist" + "test:unit": "NODE_ENV=test jest --coverage --testPathIgnorePatterns 'test/integration-.*\\.test\\.ts.*'" }, "devDependencies": { "@babel/cli": "^7.19.3",