You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[12.x] Add missing tests for LazyCollection methods (#55022)
* Add test for collapseWithKeys method in LazyCollection
This commit adds test coverage for the collapseWithKeys method, verifying:
- Nested arrays collapse correctly with preserved keys
- Mixed arrays and collections are handled properly
- Empty items are skipped as expected
* Add test for containsOneItem method in LazyCollection
* Add test for doesntContain method in LazyCollection
This commit adds test coverage for the doesntContain method, verifying it correctly returns the inverse of contains method for:
- Direct value comparison
- Key-value pair matching
- Comparison operators
- Callback functions
* Add test for dot method in LazyCollection
This commit adds test coverage for the dot method, verifying it correctly flattens multi-dimensional arrays with dot notation in keys for:
- Nested associative arrays
- Empty nested arrays
- Arrays with numeric keys
0 commit comments