mirror of
https://github.com/tenrok/axios.git
synced 2026-06-14 18:42:33 +03:00
committed by
Felipe Martins
parent
e50a08b2c3
commit
a11cdf4683
@@ -64,4 +64,9 @@ describe('core::mergeConfig', function() {
|
||||
var merged = mergeConfig(defaults, { timeout: 123 });
|
||||
expect(merged.timeout).toEqual(123);
|
||||
});
|
||||
|
||||
it('should allow setting custom options', function() {
|
||||
var merged = mergeConfig(defaults, { foo: 'bar' });
|
||||
expect(merged.foo).toEqual('bar');
|
||||
});
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user