From a778feb3dd3ab9e81d9e25f251022c4ff08c99a6 Mon Sep 17 00:00:00 2001 From: Clark Du Date: Fri, 10 Aug 2018 16:55:39 +0100 Subject: [PATCH] test: disable jest detectOpenHandles for now --- jest.config.js | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/jest.config.js b/jest.config.js index 5ac7b3846b..c5a2969445 100644 --- a/jest.config.js +++ b/jest.config.js @@ -9,7 +9,8 @@ module.exports = { testPathIgnorePatterns: ['test/fixtures/.*/.*?/'], moduleFileExtensions: ['js', 'mjs', 'json'], expand: true, - forceExit: true, + forceExit: true // https://github.com/facebook/jest/pull/6747 fix warning here - detectOpenHandles: true + // But its performance overhead is pretty bad (30+%). + // detectOpenHandles: true }