You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've upgraded my test harness to jasmine 3.1.0 and karma-jasmine-html-reporter 1.1.0 and started getting tons of warnings of missing expectations in all my testcheck tests.
On one hand, the warning is harmless if a bit annoying, on the other that is an useful check to have. I've prepared a workaround that is backward compatible with jasmine 1.x and 2.x that I'll post shortly
The text was updated successfully, but these errors were encountered:
rkrzewski
added a commit
to rkrzewski/testcheck-js
that referenced
this issue
May 30, 2018
I've upgraded my test harness to jasmine 3.1.0 and karma-jasmine-html-reporter 1.1.0 and started getting tons of warnings of missing expectations in all my testcheck tests.
This is where the check is hapening
https://github.com/dfederm/karma-jasmine-html-reporter/blob/master/src/lib/html.jasmine.reporter.js#L491-L494
And the reason why
passedExpectations
array is empty, even though expectations were checked during testcheck property evaluation is here:https://github.com/leebyron/testcheck-js/blob/master/integrations/jasmine-check/jasmine-check.js#L78-L84
On one hand, the warning is harmless if a bit annoying, on the other that is an useful check to have. I've prepared a workaround that is backward compatible with jasmine 1.x and 2.x that I'll post shortly
The text was updated successfully, but these errors were encountered: