2
0
mirror of https://github.com/tenrok/axios.git synced 2026-06-17 19:21:29 +03:00

Cleaning up tests a bit

This commit is contained in:
Matt Zabriskie
2016-03-04 10:35:05 -07:00
parent c181d8ade9
commit 371b82a2a0
11 changed files with 106 additions and 251 deletions
+1 -2
View File
@@ -4,8 +4,7 @@ describe('adapter', function () {
it('should support custom adapter', function (done) {
var called = false;
axios({
url: '/foo',
axios('/foo', {
adapter: function (resolve, reject, config) {
called = true;
}