mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
Noting that jasmine-ajax 3.0.0 is needed
This commit is contained in:
@@ -146,7 +146,7 @@ describe('wrapper', function () {
|
|||||||
}, 0);
|
}, 0);
|
||||||
});
|
});
|
||||||
|
|
||||||
// TODO this won't work until karma-jasmine updates to jasmine-ajax 2.99.0
|
// TODO this won't work until karma-jasmine updates to jasmine-ajax 3.0.0
|
||||||
/*
|
/*
|
||||||
it('should support array buffer response', function (done) {
|
it('should support array buffer response', function (done) {
|
||||||
var request, response;
|
var request, response;
|
||||||
@@ -176,12 +176,11 @@ describe('wrapper', function () {
|
|||||||
});
|
});
|
||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
console.log(response.data);
|
expect(response.data.byteLength).toBe(22);
|
||||||
expect(response.data.byteLength).toBe(16);
|
|
||||||
done();
|
done();
|
||||||
}, 0);
|
}, 0);
|
||||||
}, 0);
|
}, 0);
|
||||||
});
|
});
|
||||||
*/
|
//*/
|
||||||
|
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user