From de71eee56624b80dd989f1b82823845da069d26a Mon Sep 17 00:00:00 2001 From: Pim Date: Sun, 25 Aug 2019 16:43:18 +0200 Subject: [PATCH] test: add jest roots for less greedy test search (#6300) --- jest.config.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/jest.config.js b/jest.config.js index c1ae1b72a6..7df0f08215 100644 --- a/jest.config.js +++ b/jest.config.js @@ -5,6 +5,11 @@ module.exports = { forceExit: true, + roots: [ + '/packages', + '/test' + ], + // https://github.com/facebook/jest/pull/6747 fix warning here // But its performance overhead is pretty bad (30+%). // detectOpenHandles: true