[7.x] chore(NA): fix configuration on jest test environment (#… (#52141)

* chore(NA): fix configuration on jest test environment

* chore(NA): disable corejs

* chore(NA): remove mocks from module path ignore patterns
This commit is contained in:
Spencer 2019-12-03 20:11:14 -07:00 committed by GitHub
parent ceadcebccc
commit 0d2ab79001
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -25,6 +25,7 @@ module.exports = babelJest.createTransformer({
'@babel/preset-env': {
// disable built-in filtering, which is more performant but strips the import of `regenerator-runtime` required by EUI
useBuiltIns: false,
corejs: false
}
}]
],