From 5624edc433ae02c4c73926c54490e0135eed21de Mon Sep 17 00:00:00 2001 From: Ramon Brullo Date: Tue, 9 Jan 2024 15:22:31 +0100 Subject: [PATCH] fix: test selector (#97) The old test selector failed if the test folder contained any sub-directories. Don't know why. The new glob pattern works either way. --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 78bdcc69..200b3a64 100644 --- a/package.json +++ b/package.json @@ -7,8 +7,8 @@ "node": ">=16" }, "scripts": { - "test:quick": "cross-env NODE_ENV=test ts-mocha test/**/*.ts", - "test:full": "cross-env NODE_ENV=test ts-mocha test/**/*.ts --type-check", + "test:quick": "cross-env NODE_ENV=test ts-mocha test/**/test-*.ts", + "test:full": "cross-env NODE_ENV=test ts-mocha test/**/test-*.ts --type-check", "clean": "rimraf lib", "build": "npm run clean && tsc -p tsconfig.build.json", "build:watch": "tsc -w -p tsconfig.build.json",