test: disable jest detectOpenHandles for now

This commit is contained in:
Clark Du 2018-08-10 16:55:39 +01:00
parent c8ced350b8
commit a778feb3dd

View File

@ -9,7 +9,8 @@ module.exports = {
testPathIgnorePatterns: ['test/fixtures/.*/.*?/'], testPathIgnorePatterns: ['test/fixtures/.*/.*?/'],
moduleFileExtensions: ['js', 'mjs', 'json'], moduleFileExtensions: ['js', 'mjs', 'json'],
expand: true, expand: true,
forceExit: true, forceExit: true
// https://github.com/facebook/jest/pull/6747 fix warning here // https://github.com/facebook/jest/pull/6747 fix warning here
detectOpenHandles: true // But its performance overhead is pretty bad (30+%).
// detectOpenHandles: true
} }