Skip to content

Commit

Permalink
Merge pull request #5 from 12deg/fix/test
Browse files Browse the repository at this point in the history
Fix running test
  • Loading branch information
rameshlohala authored Aug 21, 2024
2 parents 3f86fe4 + 17b1a6b commit 1a234d6
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 2 deletions.
1 change: 1 addition & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -1 +1,2 @@
npm run lint
npm run test
8 changes: 6 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,14 @@
"release": "shipjs prepare",
"sort-package": "npx sort-package-json",
"pretest": "eslint .",
"test": "jest"
"test": "jest --passWithNoTests"
},
"jest": {
"testEnvironment": "node"
"testEnvironment": "node",
"testPathIgnorePatterns": [
"node_modules/",
"generators/.*/templates/"
]
},
"dependencies": {
"yeoman-environment": "4.4.1",
Expand Down

0 comments on commit 1a234d6

Please sign in to comment.