Yet another JS code coverage tool that computes statement, line, function and branch coverage with module loader hooks to transparently add coverage when running tests. Supports all JS coverage use cases including unit tests, server side functional tests and browser tests. Built for scale.
Other
144
stars
23
forks
source link
"// @flow weak" causes "branch not covered" error #80
i'm using Flow in my javascript files, so i have either // @flow weak or // @flow at the top of my files. if i use // @flow then all is fine. but if i use // @flow weak then in the coverage-report, the first character of the flow-weak-line (the / character) is marked with yellow color, the popup says "branch not covered". any idea what is happening?
i'm using Flow in my javascript files, so i have either
// @flow weak
or// @flow
at the top of my files. if i use// @flow
then all is fine. but if i use// @flow weak
then in the coverage-report, the first character of the flow-weak-line (the/
character) is marked with yellow color, the popup says "branch not covered". any idea what is happening?