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
Copy file name to clipboardExpand all lines: docs/rules/prefer-strict-equal.md
+3-1Lines changed: 3 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,9 @@
1
1
# Suggest using `toStrictEqual()` (prefer-strict-equal)
2
2
3
3
`toStrictEqual` not only checks that two objects contain the same data but also
4
-
that they have the same structure. It is common to expect objects to not only have identical values but also to have identical keys. A stricter equality will catch cases where two objects do not have identical keys.
4
+
that they have the same structure. It is common to expect objects to not only
5
+
have identical values but also to have identical keys. A stricter equality will
6
+
catch cases where two objects do not have identical keys.
0 commit comments