fix: update the nyc configuration

This commit is contained in:
Michel Jonathan Schmitz
2019-06-24 07:34:34 +02:00
parent 03510d6af8
commit 8ece33b6e6

View File

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