Using 'window.__karma__.info()` API to send arbitrary objects to the server does not work
See original GitHub issueExpected 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.js
file 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 install
in repo folder - Run
bash npm install src
in repo folder - Run
npm test
in 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
Issue Analytics
- State:
- Created 7 years ago
- Comments:20 (5 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@dignifiedquire @maksimr Thanks a lot for this, works like a charm.
@dignifiedquire Thanks a lot