Skip to content

Commit

Permalink
ignoring if-statment in bin to reach 100% coverage
Browse files Browse the repository at this point in the history
  • Loading branch information
ollelauribostrom committed Dec 7, 2017
1 parent 283789b commit 58ca1ec
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/bin/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ export async function plan(from, to) {
}
}

/* istanbul ignore if */
if (process.env.NODE_ENV !== 'test') {
plan(commander.from, commander.to);
}

0 comments on commit 58ca1ec

Please sign in to comment.