source: pyenvjasmine/pyenvjasmine/envjasmine/lib/jasmine-ajax/spec-helper.js@ 0:0175515fceea

Last change on this file since 0:0175515fceea was 0:0175515fceea, checked in by Borja Lopez <borja@…>, 9 years ago

Imported sources from http://repos.betabug.ch/pyenvjasmine

File size: 162 bytes
Line 
1beforeEach(function() {
2 if (!jasmine.Ajax.isInstalled()) {
3 jasmine.Ajax.installMock();
4 }
5});
6
7afterEach(function() {
8 clearAjaxRequests();
9});
Note: See TracBrowser for help on using the repository browser.