fix(Assertion): Improve toHaveProperty alias by forwarding arguments correctly for intuitive object property assertions
This commit is contained in:
@@ -1,5 +1,12 @@
|
||||
# Changelog
|
||||
|
||||
## 2025-04-30 - 2.4.1 - fix(Assertion)
|
||||
Improve toHaveProperty alias by forwarding arguments correctly for intuitive object property assertions
|
||||
|
||||
- Updated the toHaveProperty method in the Assertion class to check the number of arguments and call the appropriate object matcher
|
||||
- Added several scratch alias files to demonstrate and test the alias usage
|
||||
- Enhanced test cases in test/propertypath to cover alias behavior
|
||||
|
||||
## 2025-04-30 - 2.4.0 - feat(object)
|
||||
add toHaveOwnProperty method and improve property-path matching in object assertions
|
||||
|
||||
|
||||
Reference in New Issue
Block a user