UNPKG

@o3r/testing

Version:

The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.

32 lines 1.28 kB
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.O3rRadioElement = void 0; var tslib_1 = require("tslib"); var index_1 = require("../../errors/index"); var element_1 = require("../element"); /** * Mock for ElementProfile class. * This class is used for fixture compilation purpose. */ var O3rRadioElement = /** @class */ (function (_super) { tslib_1.__extends(O3rRadioElement, _super); function O3rRadioElement(_sourceElement) { return _super.call(this, _sourceElement) || this; } /** @inheritDoc */ O3rRadioElement.prototype.check = function (_value) { if (_value === void 0) { _value = true; } throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** @inheritDoc */ O3rRadioElement.prototype.uncheck = function () { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; /** @inheritDoc */ O3rRadioElement.prototype.isChecked = function () { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); }; return O3rRadioElement; }(element_1.O3rElement)); exports.O3rRadioElement = O3rRadioElement; //# sourceMappingURL=radio-element.js.map