-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Introduce an upper limit to how much actual vs. expected is diffed (#…
…1001) * Introduce an upper limit to how much actual vs. expected is diffed When (accidentally) asserting on very big object graphs (like Node.js’ response objects), the actual / expected strings become hundreds of MB long. In this case lab’s console reporter stalled for very long time while trying to create diffs for these huge strings. * Fix lint errors and add tests for truncation * Add test to bump coverage back to 100% * Remove command line parameter in favor of KISS … but keep the internal variable so we can set a very short limit for tests.
- Loading branch information
Showing
3 changed files
with
73 additions
and
4 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
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