UNPKG

@olton/latte

Version:

Simple test framework for JavaScript and TypeScript with DOM supports

9 lines (8 loc) 225 B
export class ExpectError extends Error { constructor (message, matcher, received = null, expected = null) { super(message) this.name = matcher this.received = received this.expected = expected } }