Closed ghost closed 7 years ago
I wonder why did the coverage decreased? previous build: https://coveralls.io/builds/12425024/source?filename=src%2Fpromise-btn.directive.ts#L26 this build: https://coveralls.io/builds/12425546/source?filename=src%2Fpromise-btn.directive.ts#L26
what does Branches [[17, 1], [19, 1], [20, 1]] missed.
mean and how do I test it?
That's a little weird indeed. Branches usually refer to lines having one or multiple logical or comparison operators in them, e.g.:
bla && bla();
// or
if (something === 'blue' || something === 'yellow') { ...
In order to get complete coverage on the branches you would need to test all possible values. I would expect that the compiled es2015 syntax has some lanes in them which are not covered.
Enables IDE to suggest config properties, like this: