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
jQuery.ajax.restore();
doesn't work
#2001
Comments
I just saw on another thread that |
jQuery.ajax.restore();
doesn't work, but sinon.restore();
doesjQuery.ajax.restore();
doesn't work
So actually, I'm not sure where I saw the thread that said this, and I may be wrong, because I see |
To clarify: |
Hi, this is a bug in the documentation. It has happened when someone updated the examples from using Would you like to do the update of the docs? |
Sure, I can update it. I just tried pushing but get a 403 error. Is there a way I can get permission? Do you need a feature branch for your pull requests? |
You'll need to fork the repository, and make the pull request from your fork |
Addressed by #2004. |
On this documentaion page (see "Testing Ajax"), the following example is provided:
When testing this using the following setup,
jQuery.ajax.restore();
returns "TypeError: jQuery.ajax.restore is not a function". Here is the setup:package.json
testrunner.html
test.js
run:
browserify test.js --outfile bundle.js
The text was updated successfully, but these errors were encountered: