From a2ccf801276c84e54d3fc1afaad574f78408d86f Mon Sep 17 00:00:00 2001 From: "Xunnamius (Romulus)" Date: Fri, 21 Oct 2022 17:14:09 -0700 Subject: [PATCH] build(package): fix npm test script jest invocations --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index e2b209d..cb0b51e 100644 --- a/package.json +++ b/package.json @@ -22,10 +22,10 @@ "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:integration": "NODE_ENV=test jest --coverage 'integration-.*\\.test\\.ts.*'", "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.*'" + "test:unit": "NODE_ENV=test jest --coverage --testPathIgnorePatterns 'integration-.*\\.test\\.ts.*'" }, "devDependencies": { "@babel/cli": "^7.19.3",