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, };