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
8.7k
stars
787
forks
source link
Error: Suite `title` should be a "string" but "function" was given instead. #764
I using 'istanbul' to create coverage for 'mocha' unit testing, the unit testing is successes each time before adding istanbul but after adding it mocha test failed each time
1) skip
2) only
2 failing
1) skip:
Error: Suite `title` should be a "string" but "function" was given instead.
2) only:
Error: Suite `title` should be a "string" but "function" was given instead.
and I don't use skip and only in my test!
I tried to downgrade mocha as some one suggest but this don't solve this issue
I currently usingmocha 3.2.0
Hi,
I using '
istanbul
' to create coverage for 'mocha
' unit testing, the unit testing is successes each time before addingistanbul
but after adding it mocha test failed each timeand I don't use skip and only in my test! I tried to downgrade mocha as some one suggest but this don't solve this issue I currently using
mocha 3.2.0