-
Notifications
You must be signed in to change notification settings - Fork 29
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
Karma/Testacular hangs up when running ngMidwayTester #2
Comments
I will take a look and get back to you. |
It happens on angular 1.1.4 and 1.1.5. |
It's got something todo with the onChange callbacks that get fired. I think the midway tester needs a bit of a refactoring. |
Have it figured. You need to do scope.apply at the end of your tests starting with angular 1.1.4 due to the way interceptors were implemented. Basically http methods do not make the request automatically anymore and need to be called from an angular run loop. |
Can you guys give it a try with the new version? |
Hi,
I'm trying to run some midway tests in my app using your awesome plugin and
mocha
, as in the example of your article, but it turns out that when I runfor this file
In a random moment during execution, Karma opens a second socket connection, making it crash and getting this log:
my midway.conf.js is:
Any idea? Thanks beforehand, it's driving me crazy...
The text was updated successfully, but these errors were encountered: