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

allow console.log #30

Open
yields opened this issue Aug 25, 2014 · 10 comments
Open

allow console.log #30

yields opened this issue Aug 25, 2014 · 10 comments

Comments

@yields
Copy link
Contributor

yields commented Aug 25, 2014

with my latest removal of mocha-phantomjs (to simplify and speed things up) you can't console.log() anymore, just adding this here to see if you guys think it should be added back.

@stephenmathieson
Copy link
Contributor

I'm confused -- console.log() still works for me?

@yields
Copy link
Contributor Author

yields commented Aug 25, 2014

you must be using 0.2.x ?

@stephenmathieson
Copy link
Contributor

$ node_modules/.bin/duo-test --version
0.3.2

@yields
Copy link
Contributor Author

yields commented Aug 25, 2014

hmm wtf haha i thought i removed it

@stephenmathieson
Copy link
Contributor

hmm idk. i can def console.log("hi") when i $ duo test browser

@yields
Copy link
Contributor Author

yields commented Aug 25, 2014

oh sorry, it doesn't work with phantomjs...

@stephenmathieson
Copy link
Contributor

oh yeah looks like it just hangs when i console.log() :/

@yields
Copy link
Contributor Author

yields commented Aug 25, 2014

weird it shouldn't hang, it should just ignore the logs.

@kvnneff
Copy link
Contributor

kvnneff commented Oct 1, 2014

+1

console.log() is really useful to me when writing tests.

@beverlycodes
Copy link

I'd like to have it back as well. I have a lot of async code (promises, mostly) that errors to console. If I can't see those log messages, I can't diagnose test failures in phantomjs. Have to switch over to browser, debug there, then resume using phantom.

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

4 participants