From 0d810aa92e9b54493a2e075c3bb497b3857a2119 Mon Sep 17 00:00:00 2001 From: Kevin J Hoerr Date: Wed, 11 Dec 2019 14:31:56 -0500 Subject: Add ts-jest to improve TS coverage reports --- src/errors.ts | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/errors.ts') diff --git a/src/errors.ts b/src/errors.ts index 3af634d..6e8c32f 100644 --- a/src/errors.ts +++ b/src/errors.ts @@ -1,6 +1,7 @@ export class BranchNotFoundError extends Error { constructor() { super(); + this.name = "BranchNotFoundError"; this.message = "Branch not found"; } } @@ -8,6 +9,7 @@ export class BranchNotFoundError extends Error { export class InvalidReportDocumentError extends Error { constructor() { super(); + this.name = "InvalidReportDocumentError"; this.message = "Invalid report document"; } } -- cgit