Browse Source

esModuleInterop was causing low coverage

fixTypes
junderw 6 years ago
parent
commit
1aaba64acc
No known key found for this signature in database GPG Key ID: B256185D3A971908
  1. 2
      package.json
  2. 2
      tsconfig.json

2
package.json

@ -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",

2
tsconfig.json

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

Loading…
Cancel
Save