Skip to content

Commit

Permalink
chore: fixes jest config to ignore lib
Browse files Browse the repository at this point in the history
  • Loading branch information
moltar authored and Roman committed Apr 29, 2020
1 parent 0776b5d commit a17a3cf
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
7 changes: 4 additions & 3 deletions jest.config.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
module.exports = {
preset: 'ts-jest',
testEnvironment: 'node'
};
preset: 'ts-jest',
testEnvironment: 'node',
modulePathIgnorePatterns: ['<rootDir>/lib/'],
}
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
"clean": "rimraf lib",
"lint": "npx eslint --ext .js,.ts src/",
"semantic-release": "semantic-release",
"test": "jest src"
"test": "jest"
},
"types": "lib/index.d.ts",
"dependencies": {
Expand Down

0 comments on commit a17a3cf

Please sign in to comment.