Skip to content

Releases: mcous/vitest-when

v0.5.0

04 Nov 16:32
v0.5.0
d7b7234
Compare
Choose a tag to compare

0.5.0 (2024-11-04)

Features

  • fallback to original mockImplementation if no match (#17) (5cd3283)

Bug Fixes

  • types: accept MockInstance as stubbing target (#16) (46fb4cb)

v0.4.1

27 Jul 17:26
v0.4.1
cbe8f01
Compare
Choose a tag to compare

0.4.1 (2024-07-09)

Bug Fixes

  • allow vitest v2 in peer dependencies (#13) (789965c)

v0.4.0

27 Jul 17:26
v0.4.0
2978911
Compare
Choose a tag to compare

0.4.0 (2024-05-11)

Features

v0.3.1

27 Jul 17:26
v0.3.1
d3a51d9
Compare
Choose a tag to compare

0.3.1 (2024-01-10)

Bug Fixes

  • defer Promise.reject to avoid unhandled rejection error (#8) (b289297), closes #7

v0.3.0

27 Jul 17:25
v0.3.0
f83b7a0
Compare
Choose a tag to compare

0.3.0 (2023-12-05)

⚠ BREAKING CHANGES

  • simplify options API (#6)
  • drop CJS export, Vitest is ESM only

Bug Fixes

Code Refactoring

v0.2.0

27 Jul 17:25
v0.2.0
ff6f029
Compare
Choose a tag to compare

0.2.0 (2023-10-08)

⚠ BREAKING CHANGES

  • types: overloaded function may now require explicit type annotations

Bug Fixes

  • types: do not try to infer types of overloaded functions (#2) (d1b17ef)

v0.1.2

27 Jul 17:24
544710e
Compare
Choose a tag to compare

0.1.2 (2023-05-22)

Bug Fixes

  • support typing overloaded functions (#1) (616e8da)

v0.1.1

27 Jul 17:24
dd1392b
Compare
Choose a tag to compare

0.1.1 (2023-05-11)

Bug Fixes

  • support asymmetric matchers (e68e5a5)

v0.1.0

27 Jul 17:23
8699d47
Compare
Choose a tag to compare

0.1.0 (2023-05-11)

Features

  • add initial implementation (025e905)