Skip to content

Commit

Permalink
fix: fixing coverage and watch jest commands
Browse files Browse the repository at this point in the history
  • Loading branch information
heliomar-pena committed Jun 20, 2024
1 parent ecb0578 commit 0e291da
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions jest.config.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,10 @@ const config = {
testMatch: ["**/*.test.js"],
coverageDirectory: "coverage",
coveragePathIgnorePatterns: [
"cli.js",
"*config.js",
"**/coverage/**",
"**/node_modules/**",
"cli\\.js$",
".*config\\.js$",
".*/coverage/.*",
".*/node_modules/.*",
],
collectCoverageFrom: ["**/*.js"],
coverageProvider: "v8",
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"type": "module",
"scripts": {
"test": "node --experimental-vm-modules node_modules/jest/bin/jest.js",
"test:watch": "jest --watch",
"test:coverage": "jest --coverage",
"test:watch": "node --experimental-vm-modules node_modules/jest/bin/jest.js --watch",
"test:coverage": "node --experimental-vm-modules node_modules/jest/bin/jest.js --coverage",
"lint": "eslint .",
"lint:fix": "eslint . --fix",
"prettier": "prettier --check .",
Expand Down

0 comments on commit 0e291da

Please sign in to comment.