test: add jest roots for less greedy test search (#6300)

This commit is contained in:
Pim 2019-08-25 16:43:18 +02:00 committed by Xin Du (Clark)
parent 3eb1710b6d
commit de71eee566
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,11 @@ module.exports = {
forceExit: true,
roots: [
'<rootDir>/packages',
'<rootDir>/test'
],
// https://github.com/facebook/jest/pull/6747 fix warning here
// But its performance overhead is pretty bad (30+%).
// detectOpenHandles: true