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 , 9 years ago | |
---|---|
File size: 162 bytes |
Rev | Line | |
---|---|---|
[0] | 1 | beforeEach(function() { |
2 | if (!jasmine.Ajax.isInstalled()) { | |
3 | jasmine.Ajax.installMock(); | |
4 | } | |
5 | }); | |
6 | ||
7 | afterEach(function() { | |
8 | clearAjaxRequests(); | |
9 | }); |
Note:
See TracBrowser
for help on using the repository browser.