mirror of
https://github.com/tenrok/axios.git
synced 2026-06-20 20:00:40 +03:00
Moar tests
This commit is contained in:
@@ -138,8 +138,8 @@ describe('requests', function () {
|
|||||||
|
|
||||||
setTimeout(function () {
|
setTimeout(function () {
|
||||||
expect(typeof response.data).toEqual('object');
|
expect(typeof response.data).toEqual('object');
|
||||||
// expect(response.data.error).toEqual('BAD USERNAME');
|
expect(response.data.error).toEqual('BAD USERNAME');
|
||||||
// expect(response.data.code).toEqual(1);
|
expect(response.data.code).toEqual(1);
|
||||||
done();
|
done();
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
|
|||||||
Reference in New Issue
Block a user