Releases: knee-cola/jest-mock-axios
Releases · knee-cola/jest-mock-axios
v4.8.0
v4.7.3
v4.7.2
v4.7.1
[4.7.1] - 2023-03-15
Added
useRequestHandler
allows you to dynamically handle every invoked request (by @rubenduiveman)
v4.7.0-beta2
[4.7.0-beta2] - 2022-11-12
Added
- Added (empty) default objects for configuration per HTTP verb (#88) - by @CezarManea (#89)
Other
- Bumped dependencies (Jest 29)
v4.6.2
[4.6.2] - 2022-11-12
Added
- Added (empty) default objects for configuration per HTTP verb (#88) - by @CezarManea (#89)
v4.7.0-beta
[4.7.0] (Beta 1) - 2022-09-01
Fixed
- Using
Promise.reject
in interceptors triggersUnhandledPromiseRejection
(#87)
Changed
- Calling
MockAxios.reset()
now resets interceptors as well
Other
- Updated dependencies (Jest 28)
v4.6.1
v4.6.0
[4.6.0] - 2022-04-13
Changed
- Experimental support for native ESM (#79)
Added
- Interceptors are applied now (#82 by @yarilchenko)
v4.5.0
[4.5.0] - 2021-12-05
Added
- Added support for passing
params
ingetReqMatching
(with support from @kylorhall, #77)