From 1aaba64acc354ac922fa0ec96c1920e48c250215 Mon Sep 17 00:00:00 2001 From: junderw Date: Sat, 29 Dec 2018 10:49:28 +0900 Subject: [PATCH] esModuleInterop was causing low coverage --- package.json | 2 +- tsconfig.json | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/package.json b/package.json index 130d644..ceb96de 100644 --- a/package.json +++ b/package.json @@ -16,7 +16,7 @@ "scripts": { "coverage-report": "nyc report --reporter=lcov", "coverage-html": "nyc report --reporter=html", - "coverage": "nyc --check-coverage --branches 83 --functions 90 --lines 89 mocha", + "coverage": "nyc --check-coverage --branches 90 --functions 90 --lines 90 mocha", "integration": "npm run build && mocha --timeout 50000 test/integration/", "standard": "standard", "test": "npm run build && npm run standard && npm run coverage", diff --git a/tsconfig.json b/tsconfig.json index b7e8c8e..1d68be9 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -16,7 +16,7 @@ "strictPropertyInitialization": true, "noImplicitThis": true, "alwaysStrict": true, - "esModuleInterop": true + "esModuleInterop": false }, "include": [ "src/**/*"