esModuleInterop was causing low coverage

This commit is contained in:
junderw 2018-12-29 10:49:28 +09:00
parent a7735ce077
commit 1aaba64acc
No known key found for this signature in database
GPG key ID: B256185D3A971908
2 changed files with 2 additions and 2 deletions

View file

@ -16,7 +16,7 @@
"scripts": { "scripts": {
"coverage-report": "nyc report --reporter=lcov", "coverage-report": "nyc report --reporter=lcov",
"coverage-html": "nyc report --reporter=html", "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/", "integration": "npm run build && mocha --timeout 50000 test/integration/",
"standard": "standard", "standard": "standard",
"test": "npm run build && npm run standard && npm run coverage", "test": "npm run build && npm run standard && npm run coverage",

View file

@ -16,7 +16,7 @@
"strictPropertyInitialization": true, "strictPropertyInitialization": true,
"noImplicitThis": true, "noImplicitThis": true,
"alwaysStrict": true, "alwaysStrict": true,
"esModuleInterop": true "esModuleInterop": false
}, },
"include": [ "include": [
"src/**/*" "src/**/*"