diff --git a/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/empty-array-pattern/output.js b/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/empty-array-pattern/output.js index a5f12c42ff7a..18b4b6572e22 100644 --- a/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/empty-array-pattern/output.js +++ b/packages/babel-plugin-transform-destructuring/test/fixtures/destructuring/empty-array-pattern/output.js @@ -13,14 +13,12 @@ var _foo = "foo", _foo2 = babelHelpers.slicedToArray(_foo, 0); var _ref7 = /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function _callee() { return babelHelpers.regeneratorRuntime().wrap(function _callee$(_context) { - while (1) { - switch (_context.prev = _context.next) { - case 0: - throw new Error("Should not throw"); - case 1: - case "end": - return _context.stop(); - } + while (1) switch (_context.prev = _context.next) { + case 0: + throw new Error("Should not throw"); + case 1: + case "end": + return _context.stop(); } }, _callee); })(), @@ -36,12 +34,10 @@ var _Symbol$iterator5 = { var _Symbol$iterator7 = { [Symbol.iterator]: /*#__PURE__*/babelHelpers.regeneratorRuntime().mark(function _callee2() { return babelHelpers.regeneratorRuntime().async(function _callee2$(_context2) { - while (1) { - switch (_context2.prev = _context2.next) { - case 0: - case "end": - return _context2.stop(); - } + while (1) switch (_context2.prev = _context2.next) { + case 0: + case "end": + return _context2.stop(); } }, _callee2, null, null, Promise); })