Files
serenity/Userland/Libraries/LibJS/Tests
Daniel La Rocque 7af4d382da LibJS: Improve deep equals algorithm in tests
The `deepEquals` algorithm used for testing was naive, and incorrectly
evaluated equality of objects in some cases. The new algorithm considers
that the second object could have more keys than the first, and compares
the prototypes of the objects.

(cherry picked from commit cb629e18bbcb8f5a6c6fd535e290a34da7a5cfb6)
2024-11-07 20:29:07 -05:00
..