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

Steps to reproduce the behaviour

  1. Clone Repo: https://github.com/devanshah1/sample
  2. Run bash npm install in repo folder
  3. Run bash npm install src in repo folder
  4. Run npm test in repo folder
  5. 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)

Most upvoted comments

@dignifiedquire @maksimr Thanks a lot for this, works like a charm.