Tagged: mock
jStorage provides an convenient API for storing values. Use the same API for storing your data in localStorage, sessionStorage, cookies (bonus: cookies as localStorage/sessionStorage fallback!) and jQuery.data.
1.1.0
Released February 21, 2013
jQuery.ajaxMock is a tiny yet powerful mocking plugin for jQuery 1.5+Just register a fake response (the mock object) . All subsequent $.ajax calls to registered urls will be incercepted, and their're callbacks will recieve the faked response. Keep in mind that no real XHRrequests will be made. Works like a charm with Jasmine (http://pivotal.github.com/jasmine/) the a behavior-driven development framework for testing JavaScript code.
1.2.1
Released February 27, 2013
jQuery plugin for creating a mock DOM within the bounds of a test.
1.0.1
Released October 28, 2013