axios-axios/test/specs/core
Xianming Zhong 0d69a79c81
Refactor mergeConfig without utils.deepMerge (#2844)
* Adding failing test

* Fixing #2587 default custom config persisting

* Adding Concat keys and filter duplicates

* Fixed value from CPE

* update for review feedbacks

* no deepMerge

* only merge between plain objects

* fix rename

* always merge config by mergeConfig

* extract function mergeDeepProperties

* refactor mergeConfig with all keys, and add special logic for validateStatus

* add test for resetting headers

* add lots of tests and fix a bug

* should not inherit `data`

* use simple toString

* revert #1845

Co-authored-by: David Tanner <david.tanner@lifeomic.com>
Co-authored-by: Justin Beckwith <justin.beckwith@gmail.com>
2020-06-08 20:52:45 +02:00
..
buildFullPath.spec.js Do not modify config.url when using a relative baseURL (resolves #1628) (#2391) 2019-09-05 12:43:55 -03:00
createError.spec.js Adding isAxiosError flag to errors thrown by axios (#1419) 2018-08-20 11:02:23 +02:00
enhanceError.spec.js Adding isAxiosError flag to errors thrown by axios (#1419) 2018-08-20 11:02:23 +02:00
mergeConfig.spec.js Refactor mergeConfig without utils.deepMerge (#2844) 2020-06-08 20:52:45 +02:00
settle.spec.js Adding failing tests that verify errors contain the request 2017-04-08 21:43:04 +02:00
transformData.spec.js Moving settle & transformData from helpers/ -> core/ 2016-06-01 13:54:38 -06:00