UNPKG

alsatian-fluent-assertions

Version:

Fluent assertions extension to Alsatian xUnit framework.

13 lines 500 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); const alsatian_1 = require("alsatian"); class BaseError extends alsatian_1.MatchError { constructor(_message, expected, actual) { // inheritance. see https://stackoverflow.com/a/48567560/2356600 const trueProto = new.target.prototype; super(_message, expected, actual); this.__proto__ = trueProto; } } exports.BaseError = BaseError; //# sourceMappingURL=base-error.js.map