diff --git a/index.js b/index.js index ec6f588..d576716 100644 --- a/index.js +++ b/index.js @@ -66,6 +66,7 @@ function loadAndValidateEnvironment (_opts) { require('dotenv').config(Object.assign({}, opts.dotenv)) } + /* istanbul ignore else */ if (opts.env) { if (opts.expandEnv) { require('dotenv-expand').expand({ parsed: process.env }) diff --git a/package.json b/package.json index 4939c20..079c773 100644 --- a/package.json +++ b/package.json @@ -4,8 +4,8 @@ "description": "Validate your env variable using Ajv and dotenv", "main": "index.js", "scripts": { - "test": "standard | snazzy && tap test/*.test.js --no-check-coverage && npm run typescript", - "test:ci": "standard | snazzy && tap test/*.test.js --no-check-coverage --coverage-report=lcovonly && npm run typescript", + "test": "standard | snazzy && tap test/*.test.js && npm run typescript", + "test:ci": "standard | snazzy && tap test/*.test.js --coverage-report=lcovonly && npm run typescript", "typescript": "tsd" }, "repository": {