Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API 'window.__karma__.info()` does not work #2534

Closed
devanshah1 opened this issue Jan 12, 2017 · 2 comments
Closed

API 'window.__karma__.info()` does not work #2534

devanshah1 opened this issue Jan 12, 2017 · 2 comments

Comments

@devanshah1
Copy link

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

Additional Details

I used the localStorage.debug = '*'; option in the browser to enable the logs in karma to see if the info emit was going through, I did see that the emit was dispatch. Do you happen to know where I can look to verify if the reporter has received it or to verify if the emmiter is registered from the reporter.

@devanshah1
Copy link
Author

Any update on this issues?

@devanshah1
Copy link
Author

Closing this one as it is the same as #2192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant