istanbul ignore next is ignored after upgrade @babel/core from 7.5.5 to 7.6.0 #10432
Labels
Has PR
i: bug
i: regression
outdated
A closed issue/PR that is archived due to age. Recommended to make a new issue
Bug Report
Current Behavior
After upgrade
@babel/core
from 7.5.5 to 7.6.0jest --coverage
ignores/* istanbul ignore next */
Input Code
node_modules
andpackage-lock.json
@babel/core
version to7.6.0
npm install
node_modules/.bin/jest --clearCache ; node_modules/.bin/jest packages/wdio-sync
Actual Result:
executeHooksWithArgs
inexecuteHooksWithArgs.js
is NOT ignored which means that/* istanbul ignore next */
is ignoredNOTE:
if you repeat steps from 1 to 5 but set
@babel/core
version to7.5.5
executeHooksWithArgs
inexecuteHooksWithArgs.js
will be ignored, which means the issue is regression since@babel/core
version7.5.5
Expected behavior/code
/* istanbul ignore next */
should be taken into accountBabel Configuration (.babelrc, package.json, cli command)
https://github.com/webdriverio/webdriverio/blob/master/babel.config.js
Environment
@babel/core
7.6.0
Possible Solution
Additional context/Screenshots
@babel/core
7.6.0
@babel/core
7.5.5
The text was updated successfully, but these errors were encountered: