"use strict"; let Hello = /*#__PURE__*/function () { function Hello() { babelHelpers.classCallCheck(this, Hello); } babelHelpers.createClass(Hello, [{ key: "toString", value: function toString() { return 'hello'; } }]); return Hello; }(); let Outer = /*#__PURE__*/function (_Hello) { babelHelpers.inherits(Outer, _Hello); var _super = babelHelpers.createSuper(Outer); function Outer() { let _babelHelpers$get$cal; var _thisSuper, _this; babelHelpers.classCallCheck(this, Outer); _this = _super.call(this); _babelHelpers$get$cal = babelHelpers.get((_thisSuper = babelHelpers.assertThisInitialized(_this), babelHelpers.getPrototypeOf(Outer.prototype)), "toString", _thisSuper).call(_thisSuper); let Inner = function Inner() { babelHelpers.classCallCheck(this, Inner); babelHelpers.defineProperty(this, _babelHelpers$get$cal, 'hello'); }; return babelHelpers.possibleConstructorReturn(_this, new Inner()); } return Outer; }(Hello); expect(new Outer().hello).toBe('hello');