@o3r/testing
Version:
The module provides testing (e2e, unit test) utilities to help you build your own E2E pipeline integrating visual testing.
20 lines • 865 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.TranspilationPurposeOnlyError = void 0;
var tslib_1 = require("tslib");
/**
* Exception to indicate that the code run is for transpilation purpose only.
* It should not be used during runtime process
*/
var TranspilationPurposeOnlyError = /** @class */ (function (_super) {
tslib_1.__extends(TranspilationPurposeOnlyError, _super);
function TranspilationPurposeOnlyError(message) {
if (message === void 0) { message = 'Transpilation purpose only'; }
var _this = _super.call(this, message) || this;
_this.name = 'TranspilationPurposeOnly';
return _this;
}
return TranspilationPurposeOnlyError;
}(Error));
exports.TranspilationPurposeOnlyError = TranspilationPurposeOnlyError;
//# sourceMappingURL=transpilation-purpose-only.js.map