Skip to content

Commit

Permalink
[fix] jest should ignore files in "__tests__/mock/"
Browse files Browse the repository at this point in the history
  • Loading branch information
NeoyeElf committed Jan 2, 2020
1 parent b51f470 commit 549a4a2
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -65,6 +65,9 @@
".(ts)": "<rootDir>/node_modules/ts-jest/preprocessor.js"
},
"testRegex": "(/__tests__/.*|\\.(test|spec))\\.(ts|js)$",
"testPathIgnorePatterns" : [
"<rootDir>/__tests__/mock/"
],
"moduleFileExtensions": [
"ts",
"js"
Expand Down

0 comments on commit 549a4a2

Please sign in to comment.