UNPKG

@eggjs/supertest

Version:

SuperAgent driven library for testing HTTP servers

15 lines (14 loc) 356 B
//#region src/error/AssertError.ts var AssertError = class extends Error { expected; actual; constructor(message, expected, actual, options) { super(message, options); this.name = this.constructor.name; this.expected = expected; this.actual = actual; Error.captureStackTrace(this, this.constructor); } }; //#endregion export { AssertError };