From 8ece33b6e6902040d42e8eb0b18237065697673e Mon Sep 17 00:00:00 2001 From: Michel Jonathan Schmitz Date: Mon, 24 Jun 2019 07:34:34 +0200 Subject: [PATCH] fix: update the nyc configuration --- src/common.ts | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/common.ts b/src/common.ts index df6c6914..541dab92 100644 --- a/src/common.ts +++ b/src/common.ts @@ -673,7 +673,7 @@ export function getRules(configuration: Configuration): Rules { ]; // configuration for nyc to add to package.json - const nycConfiguration = { + const nycConfiguration: NYCConfiguration = { all: true, branches: 95, 'check-coverage': true, @@ -693,6 +693,9 @@ export function getRules(configuration: Configuration): Rules { 'html', 'text-summary', ], + require: [ + 'ts-node/register', + ], statements: 95, };