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

Running from debug.html results in an error that window.parent.io is not defined. #5

Closed
lvanengelen opened this issue Aug 22, 2013 · 4 comments

Comments

@lvanengelen
Copy link

No description provided.

@asapach
Copy link

asapach commented Aug 24, 2013

Here's the full error message:
TypeError: window.parent.io is undefined @ http://localhost:9876/base/node_modules/karma-jasmine/lib/adapter.js:39

@vojtajina
Copy link
Contributor

That's a bug, I'll fix it.

@JackZhang1988
Copy link

How to add "socket.io.js" in debug.html?
I have added 'socket.io.js' in karma.conf.js and all test run successfully. but when i debug my code, i found an error "Uncaught TypeError: Cannot read property 'transport' of undefined " throw out, i think this cos there is no socket.io.js in debug.html.

so how to add this socket.io.js in debug.html so that i can debug my code?

@vojtajina
Copy link
Contributor

@JackZhang1988 you don't need socket.io in the debug mode. The debug mode does not communicate with the server, it just runs the tests in the browser and you can open web inspector to debug it...

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