mock模拟ajax,GitHub - mobz/mock-ajax: a framework for mocking ajax requests with jQuery and jsHamcrest...
MockAjaxMockAjax is an mock XMLHttpRequest implemetation designed to allow asyncronousxhr requests to be run inside a synchronous testing framework. It is specificallydesigned to run with JsHamcrest a...