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
Remove dependency on httpbin.org and run local responses server #4921
Conversation
yay! no flakes! |
@@ -22,6 +22,8 @@ import { | |||
FetchResponse, | |||
assertSuccess, | |||
} from '../../src/service/xhr-impl'; | |||
import {getCookie} from '../../src/cookies'; | |||
|
|||
|
|||
describe('XHR', function() { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You need to rebase. I turned off these tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
This is great!!! A few little comments (and the rebase and subsequent removal of the |
Done PTAL 👀 |
LGTM |
Merged it for you, so we get the tests back on ASAP. |
@mkhatib have you considered using Sinon FakeServer? I believe launching this additional test server does add some latency. If you really need a real HTTP server for test, I think Karma custom server middleware is a better option. |
Fixes #3101 and #4899