Do you want to request a feature or report a bug?
Bug.
What is the current behavior?
Everything works, but our line coverage compared to 22.1.0 is significantly less, without any code or test changes.
What is the expected behavior?
Everything works, and our line coverage remains the same.
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
Content of the script used in package.json:
"jest": "jest --coverage --verbose --runInBand"
Content of babel configuration in package.json:
"babel": {
"presets": [
"es2015",
"react",
"stage-0"
],
"plugins": [
[
"module-resolver",
{
"root": [
"./source",
"./src"
]
}
]
]
},
Content of the configuration file:
https://gist.github.com/StephanBijzitter/036140f1b4c8174018bd45c65360077f
Node 8.9.1 and Yarn 1.3.2, OS X & Ubuntu (Windows not tested)
With babel-jest 22.1.0:

With babel-jest 22.2.0:

Do you want to request a feature or report a bug?
Bug.
What is the current behavior?
Everything works, but our line coverage compared to 22.1.0 is significantly less, without any code or test changes.
What is the expected behavior?
Everything works, and our line coverage remains the same.
Please provide your exact Jest configuration and mention your Jest, node,
yarn/npm version and operating system.
Content of the script used in package.json:
Content of babel configuration in package.json:
Content of the configuration file:
https://gist.github.com/StephanBijzitter/036140f1b4c8174018bd45c65360077f
Node 8.9.1 and Yarn 1.3.2, OS X & Ubuntu (Windows not tested)
With babel-jest 22.1.0:

With babel-jest 22.2.0:
