Skip to content

Commit dbd8c65

Browse files
authored
fix(ci): use shell expansion to run test files (#761)
1 parent 7df1d0c commit dbd8c65

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

package.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@
1515
},
1616
"scripts": {
1717
"test": "npm run test-unit && npm run lint",
18-
"test-unit": "node --test test/unit",
19-
"test:reporters": "node --test --test-reporter=spec --test-reporter-destination=stdout --test-reporter=@reporters/github --test-reporter-destination=stdout test/unit",
18+
"test-unit": "node --test test/unit/**",
19+
"test:reporters": "node --test --test-reporter=spec --test-reporter-destination=stdout --test-reporter=@reporters/github --test-reporter-destination=stdout test/unit/**",
2020
"coverage": "c8 --reporter=html --reporter=text --reporter=text-summary npm test",
2121
"coverage:ci": "c8 --reporter=lcov --reporter=text --reporter=text-summary npm run test:reporters",
2222
"lint": "eslint . --cache",

0 commit comments

Comments
 (0)