chore: update jest config (#4994)

This commit is contained in:
neverland
2019-11-13 15:36:12 +08:00
committed by GitHub
parent 9d21b53731
commit 4cd132c0ee
5 changed files with 5 additions and 47 deletions

View File

@@ -27,7 +27,7 @@ module.exports = function (api) {
{
corejs: false,
helpers: true,
regenerator: false,
regenerator: NODE_ENV === 'test',
useESModules
}
],