Skip to content

Commit

Permalink
fix(ci): use shell expansion to run test files
Browse files Browse the repository at this point in the history
  • Loading branch information
aduh95 committed Dec 6, 2023
1 parent fabee60 commit ae69b94
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit ae69b94

Please sign in to comment.