karma: Using 'window.__karma__.info()` API to send arbitrary objects to the server does not work
Expected behavior
Expect the info emitter to be dispatched which is set in the reporter. The reporter is expected to write to console a message. Refer to: https://groups.google.com/forum/#!topic/karma-users/ShR96TcKm6Q
Actual behavior
Nothing is written to the terminal/console.
Enviroment Details
- Karma version (output of
karma --version): Tried on “0.13.22” and “1.0.0” - Relevant part of your
karma.config.jsfile Refer to: https://github.com/devanshah1/sample/blob/master/karma.conf.js
Steps to reproduce the behaviour
- Clone Repo: https://github.com/devanshah1/sample
- Run
bash npm installin repo folder - Run
bash npm install srcin repo folder - Run
npm testin repo folder - Now in the console you should see “info emitter was called and following is the object” printed if the info event was triggered
About this issue
- Original URL
- State: closed
- Created 8 years ago
- Comments: 20 (5 by maintainers)
@dignifiedquire @maksimr Thanks a lot for this, works like a charm.