-
Notifications
You must be signed in to change notification settings - Fork 101
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
tests for $.fetch #130
Comments
I created a simple template for testing For now it's just echoing the request data back to the client. However, we have to discuss whether #128 is still a valid bug though. Should we improve the way data is stringified? I can write more tests for |
great thanks for helping. much appreciated. |
@LeaVerou I think the hook-commit broke fetch. Line 98: |
Argh. On it, thanks for spotting! |
$.fetch tests have been merged in no? closing this. |
We need tests for
$.fetch
, have had a few of issues reported around this method #111 #127 #128 #91 , and its difficult to begin making changes without tests in place.a good testing strategy would be to use
sinon.server
https://gist.github.com/cjohansen/739589
The text was updated successfully, but these errors were encountered: