diff --git a/packages/babel-generator/test/index.js b/packages/babel-generator/test/index.js index 6abefd9ccd..d15e53807a 100644 --- a/packages/babel-generator/test/index.js +++ b/packages/babel-generator/test/index.js @@ -306,7 +306,19 @@ suites.forEach(function (testSuite) { if (actualCode) { const actualAst = parse(actualCode, { filename: actual.loc, - plugins: ["*"], + plugins: [ + "asyncGenerators", + "classProperties", + "decorators", + "doExpressions", + "dynamicImport", + "exportExtensions", + "flow", + "functionBind", + "functionSent", + "jsx", + "objectRestSpread", + ], strictMode: false, sourceType: "module", });