UNPKG

@o3r/testing

Version:

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

28 lines 981 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.O3rCheckboxElement = void 0; const index_1 = require("../../errors/index"); const element_1 = require("../element"); /** * Mock for ElementProfile class. * This class is used for fixture compilation purpose. */ class O3rCheckboxElement extends element_1.O3rElement { constructor(_sourceElement) { super(_sourceElement); } /** @inheritDoc */ check(_value = true, _associatedLabel) { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); } /** @inheritDoc */ uncheck() { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); } /** @inheritDoc */ isChecked() { throw new index_1.TranspilationPurposeOnlyError('Should target a proper implementation'); } } exports.O3rCheckboxElement = O3rCheckboxElement; //# sourceMappingURL=checkbox-element.js.map