Skip to content

Commit

Permalink
fix: correct flag and add test:only script
Browse files Browse the repository at this point in the history
  • Loading branch information
Mouvedia committed Jun 23, 2023
1 parent b55a914 commit 68fee2f
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
2 changes: 1 addition & 1 deletion .github/workflows/testing.yml
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ jobs:
run: npm ci

- name: Test with coverage
run: npm run test-coverage
run: npm run test:coverage

- name: Upload coverage to Codecov
uses: codecov/codecov-action@v3
Expand Down
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,11 @@
"release": "np --no-release-draft",
"pretest": "npm run lint",
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test-coverage": "npm run test --ignore-script -- --coverage",
"test:only": "npm test --ignore-scripts",
"test:coverage": "npm run test:only -- --coverage",
"version": "changeset version",
"postversion": "git restore package.json",
"watch": "npm run test --ignore-script -- --watch",
"watch": "npm run test:only -- --watch",
"changelog-to-github-release": "remark --quiet --use ./scripts/remark-changelog-to-github-release.mjs CHANGELOG.md"
},
"lint-staged": {
Expand Down

0 comments on commit 68fee2f

Please sign in to comment.