question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Using 'window.__karma__.info()` API to send arbitrary objects to the server does not work

See original GitHub issue

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

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:20 (5 by maintainers)

github_iconTop GitHub Comments

1reaction
devanshah1commented, Apr 6, 2017

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

0reactions
devanshah1commented, Apr 1, 2017

@dignifiedquire Thanks a lot

Read more comments on GitHub >

github_iconTop Results From Across the Web

karma-runner/karma - Gitter
Does any one make use of the window.karma.info() API to send arbitrary objects to the server?? KSaiPrakash. @KSaiPrakash. could anyone please tell me...
Read more >
Error: You need to include some adapter that implements ...
I've one test file in my test/ folder. The karma server has started, the browser page is ready, but karma run fails as...
Read more >
REST API Guide | Parse
The REST API lets you interact with Parse Server from anything that can send an HTTP request. There are many things you can...
Read more >
Component testing scenarios - Angular
When testing a component, only the service's public API should matter. In general, tests themselves should not make calls to remote servers.
Read more >
FAQs - Protractor - end-to-end testing for AngularJS
Karma is a great tool for unit testing, and Protractor is intended for ... Note mouse actions do not work on Chrome with...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found