From ae69b94f8c8d717780490f85efb2d49c4408d375 Mon Sep 17 00:00:00 2001 From: Antoine du Hamel Date: Wed, 6 Dec 2023 18:38:58 +0100 Subject: [PATCH] fix(ci): use shell expansion to run test files --- package.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 69063382..b69ffa87 100644 --- a/package.json +++ b/package.json @@ -15,8 +15,8 @@ }, "scripts": { "test": "npm run test-unit && npm run lint", - "test-unit": "node --test test/unit", - "test:reporters": "node --test --test-reporter=spec --test-reporter-destination=stdout --test-reporter=@reporters/github --test-reporter-destination=stdout test/unit", + "test-unit": "node --test test/unit/**", + "test:reporters": "node --test --test-reporter=spec --test-reporter-destination=stdout --test-reporter=@reporters/github --test-reporter-destination=stdout test/unit/**", "coverage": "c8 --reporter=html --reporter=text --reporter=text-summary npm test", "coverage:ci": "c8 --reporter=lcov --reporter=text --reporter=text-summary npm run test:reporters", "lint": "eslint . --cache",