From 9d50798c71df4dd77f2f15181b29f4dad2894d7c Mon Sep 17 00:00:00 2001 From: Ben Alpert Date: Tue, 13 May 2014 13:27:04 -0700 Subject: [PATCH] Set rootDir for jest config --- package.json | 17 ++--------------- 1 file changed, 2 insertions(+), 15 deletions(-) diff --git a/package.json b/package.json index 81736a84bf54..e5f2c59f4d27 100644 --- a/package.json +++ b/package.json @@ -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__/[^/]*/.+" ] } }