Skip to content

Releases: knee-cola/jest-mock-axios

v4.4.1

28 Sep 21:16
bf965b4
Compare
Choose a tag to compare

[4.4.1] - 2021-09-28

Other

  • Updated dependencies (Jest 27)

v4.4.0

18 Apr 15:14
43fafd0
Compare
Choose a tag to compare

[4.4.0] - 2021-04-18

Added

Other

  • Updated dependencies

v4.3.0

05 Feb 18:26
a1d69a7
Compare
Choose a tag to compare

[4.3.0] - 2021-02-05

Added

Other

  • Updated dependencies

v4.2.1

21 Jul 18:37
4460dda
Compare
Choose a tag to compare

[4.2.1] - 2020-07-21

Fixed

Changed

v4.2.0

04 Jun 20:49
0404c67
Compare
Choose a tag to compare

Breaking

  • throwIfRequested in CancelToken now actually throws if requested (not surprising, so not "really" breaking)

Added

Fixed

  • Fixed some bugs regarding to the cancel implementation

v4.1.0

22 May 07:58
31dc15a
Compare
Choose a tag to compare

Features

  • Support axios(url, [config]) syntax

v4.0.0

28 Apr 17:52
5c7377c
Compare
Choose a tag to compare

Features

  • Using .cancel in the code to test now actually cancels (i.e. rejects) the axios call / promise.

Changes

  • The signatures of get, delete, head, and options now align with these of axios, meaning that the third argument (used to be data) has been removed.

v3.2.0

08 Dec 14:52
20d9365
Compare
Choose a tag to compare

Features

  • Added mockResponseFor and getReqMatching to support more sophisticated request-responding (#43 by @ThiefMaster)

Other

  • Updated dependencies

v3.1.2

26 Oct 13:56
8c1a97a
Compare
Choose a tag to compare
  • Update dependencies

v3.1.1

07 Sep 18:02
9088ed7
Compare
Choose a tag to compare

Bugfixes

  • Fixes an upstream bug in synchronous-promise where finally would be called too early (#38)