Releases: ctimmerm/axios-mock-adapter
Releases · ctimmerm/axios-mock-adapter
v1.22.0
- Helper for delay in milliseconds (#312)
mock.delayInMs(200).onGet("/foo").reply(200);
mock.delayInMs(0).onGet("/bar").reply(200);
v1.21.4
- Fix type error (#368)
- Test that the types are valid (#369)
v1.21.3
- Fix passthrough support with axios 1.2 (#363)
- Fix type exports (#364)
- Update devDependencies (#366, #358)
v1.21.2
- Use AxiosError constructor to create axios errors if available, this restores axios v0.27 compatibility (1d83731)
v1.21.1
- Correctly include UMD builds in npm package
v1.21.0
- Added support for LINK and UNLINK HTTP methods (a22ffe5)
- Handle params and payloads on delete requests (d0e7081)
- Vendor isBlob package to get rid of arrow function (e1700fd)
v1.20.0
- Expose originalAdapter in TypeScript types (e6b2d2f)
- Adopt the official behavior of validateStatus and always return an error instance on rejection (43e35b6)
- Ensure that an instance is provided to mock (a326853)
- Allow Blob responses (8dd3039)
v1.19.0
- Add toJSON method to axios errors (a14b283)
- Create onNoMatch=throwException option (a52b450)
- Support asymmetricMatch in TypeScript (1a22ea2)
- Handle request with undefined url (78fe012)
- Add onNoMatch: "throwException" to types (855c8a5)
- fix responseURL case (95d2aeb)
v1.18.1
- Don't run bundle size test in prepublish, which prevented unminified umd bundle to be included in the npm package (e047ae2)