Skip to content

Commit

Permalink
Merge pull request #1 from spicyj/rootdir
Browse files Browse the repository at this point in the history
Set rootDir for jest config
  • Loading branch information
Jeff Morrison authored and Jeff Morrison committed May 13, 2014
2 parents 939a653 + 9d50798 commit 16f22b7
Showing 1 changed file with 2 additions and 15 deletions.
17 changes: 2 additions & 15 deletions package.json
Expand Up @@ -32,22 +32,9 @@
"test": "jshint --config=.jshintrc --exclude=src/coverageTemplate.js src && jest"
},
"jest": {
"testPathDirs": [
"."
],

"modulePathIgnorePatterns": [
"/node_modules/",
"/examples/",
"/docs/"
],

"rootDir": "src",
"testPathIgnorePatterns": [
"/__tests__/[^/]*/.+",
"/node_modules/",
"/examples/",
"/website/",
"/docs/"
"/__tests__/[^/]*/.+"
]
}
}

0 comments on commit 16f22b7

Please sign in to comment.