Skip to content

Commit

Permalink
Add test for #244
Browse files Browse the repository at this point in the history
  • Loading branch information
hueniverse committed Sep 23, 2019
1 parent d941f1b commit 2ee13f6
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion test/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ const { expect } = Lab.types;
expect.type<Boom>(new Boom());
expect.type<Error>(new Boom());


class X {

x: number;
Expand All @@ -26,6 +25,11 @@ expect.type<number>(new Boom('error', { decorate }).x);

expect.error(new Boom('error', { decorate }).y);


class CustomError extends Boom {}
new CustomError('Some error');


// boomify()

const error = new Error('Unexpected input');
Expand Down

0 comments on commit 2ee13f6

Please sign in to comment.