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