define(["require", "exports", "tslib", "react", "react-dom/test-utils", "./BaseComponent"], function (require, exports, tslib_1, React, ReactTestUtils, BaseComponent_1) { "use strict"; Object.defineProperty(exports, "__esModule", { value: true }); describe('BaseComponent', function () { it('can resolve refs', function () { // eslint-disable-next-line deprecation/deprecation var Foo = /** @class */ (function (_super) { tslib_1.__extends(Foo, _super); function Foo() { return _super !== null && _super.apply(this, arguments) || this; } Foo.prototype.render = function () { // eslint-disable-next-line deprecation/deprecation return React.createElement("div", { ref: this._resolveRef('root') }); }; return Foo; }(BaseComponent_1.BaseComponent)); var component = ReactTestUtils.renderIntoDocument(React.createElement(Foo, null)); expect(component.root).toBeTruthy(); }); }); }); //# sourceMappingURL=BaseComponent.test.js.map