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/ExpectAPI.md
+1-1
Original file line number
Diff line number
Diff line change
@@ -156,7 +156,7 @@ There are a number of helpful tools exposed on `this.utils` primarily consisting
156
156
The most useful ones are `matcherHint`, `printExpected` and `printReceived` to format the error messages nicely. For example, take a look at the implementation for the `toBe` matcher:
Because the default export does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\s+$/` regular expression.
455
+
Because `diff()` does not display substring differences within lines, formatting can help you see when lines differ by the presence or absence of trailing spaces found by `/\s+$/` regular expression.
456
456
457
457
- If change lines have a background color, then you can see trailing spaces.
458
458
- If common lines have default dim color, then you cannot see trailing spaces. You might want yellowish background color to see them.
0 commit comments