-
-
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.
expect: Highlight substring differences when matcher fails, part 1 (#…
…8448) * expect: Improve report when matcher fails, part 20 * Added newlines to cleanupSemantic * Add Facebook copyright header to declarations * Added exception to checkCopyrightHeaders script * Update CHANGELOG.md * Make substring highlight explicit in CHANGELOG.md * Convert cleanupSemantic to TypeScript * Add diff-sequences to references in tsconfig.json * Delete unneeded toString method of Diff class * Add condition for edge case of empty string * Decide not to rename DIFF_EQUAL * Rewrite complicated condition as its plain meaning * Encapsulate substring diff in array subclass with toJSON method * Move printDiffOrStringify to jest-matcher-utils * Add copyright header to 2 added files
- Loading branch information
1 parent
a5c7380
commit 3cb3274
Showing
14 changed files
with
841 additions
and
89 deletions.
There are no files selected for viewing
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
fixtures/failing-jsons/ | ||
packages/jest-matcher-utils/src/cleanupSemantic.ts | ||
packages/jest-config/src/__tests__/jest-preset.json | ||
packages/pretty-format/perf/world.geo.json |
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
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
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
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
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
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.