-
-
Notifications
You must be signed in to change notification settings - Fork 6.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ignore indentation of data structures in jest-diff (#3429)
* Ignore indentation in jest-diff * Ignore indentation in structuredPatch and test it more * Fix regression for multiline string from toBe or toEqual * Add snapshot option and make spacing consistent for --expand * Ignore indentation only in compareObjects not in snapshots * Format lines that are equal except for indentation in cyan color * Edit code after proof reading * Fix misplaced className prop in React elements test * Edit code and comments after rereading * Factor elementSymbol out of diff test cases * Add tests for color of text and background color of spaces * Rewrite tests for color to eliminate duplicate snapshots * Make requested changes especially space in second column * Edit redundant comments
- Loading branch information
1 parent
fab51f8
commit 7e2c206
Showing
9 changed files
with
1,080 additions
and
339 deletions.
There are no files selected for viewing
362 changes: 181 additions & 181 deletions
362
packages/expect/src/__tests__/__snapshots__/matchers.test.js.snap
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.