Releases: mcous/vitest-when
Releases · mcous/vitest-when
v0.5.0
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
0.4.1 (2024-07-09)
Bug Fixes
- allow vitest v2 in peer dependencies (#13) (789965c)
v0.4.0
0.4.0 (2024-05-11)
Features
v0.3.1
0.3.1 (2024-01-10)
Bug Fixes
- defer Promise.reject to avoid unhandled rejection error (#8) (b289297), closes #7
v0.3.0
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
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
0.1.2 (2023-05-22)
Bug Fixes
- support typing overloaded functions (#1) (616e8da)
v0.1.1
0.1.1 (2023-05-11)
Bug Fixes
- support asymmetric matchers (e68e5a5)
v0.1.0
0.1.0 (2023-05-11)
Features
- add initial implementation (025e905)