问题
With grunt, my failing tests output like so:
Chrome 37.0.2062 (Mac OS X 10.9.5) [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] [object Object] should return full list if no filter options are set FAILED
When I run the tests without grunt, the describe strings get printed just fine.
Grunt 0.4.5 Karma 0.12.23 Karma-Jasmine 0.2.0 Grunt-Karma 0.9.0
回答1:
Looks like it was a karma-jasmine issue resolved with r0.2.1...
https://github.com/karma-runner/karma-jasmine/issues/46
来源:https://stackoverflow.com/questions/26064460/karma-reporter-with-grunt-prints-object-object-instead-of-describe-strings