fix(Assertion): Improve chainability by fixing return types in assertion methods

This commit is contained in:
2025-04-29 11:42:41 +00:00
parent 855e20a217
commit db49492af6
3 changed files with 34 additions and 23 deletions

View File

@@ -1,5 +1,12 @@
# Changelog
## 2025-04-29 - 2.1.1 - fix(Assertion)
Improve chainability by fixing return types in assertion methods
- Update runCheck method to explicitly return the correct chainable type for both async and sync assertions
- Ensure customAssertion propagates the chainable Assertion instance
- Refactor internal promise handling for clarity and consistency
## 2025-04-28 - 2.1.0 - feat(core)
Add new matchers and improve negation messaging