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
Test: Improve recursion depth limit tests for JSON utils
* 🎯 **What:** Improved `tests/unit/json_utils_security.test.ts` to strictly verify the recursion depth limit (1000) in `generateMergePatch` and `applyMergePatch`.
* 📊 **Coverage:** Added boundary tests for depth 1000 (allowed) and depth 1001 (disallowed) using a deterministic `createDeepObject` helper.
* ✨ **Result:** Verified that the safety mechanism correctly enforces the limit without off-by-one errors. Confirmed behavior by temporarily lowering the limit.
Co-authored-by: zknpr <96851588+zknpr@users.noreply.github.com>
0 commit comments