Skip to content

Commit

Permalink
jest-diff: Add firstOrLastEmptyLineReplacement option and export 3 di…
Browse files Browse the repository at this point in the history
…ffLines functions (#8955)

* jest-diff: Add trimmableLineReplacement option and export 3 diffLines functions

* Fix prettier lint error in README.md

* Update CHANGELOG.md

* Rename function and remove unneeded export

* Add splitLines0 as a named export

* Fix prettier error in README.md

* Move edge cases and splitLines0 after diffLinesUnified

* Rename trimmableLineReplacement as firstOrLastEmptyLineReplacement

* Fix prettier error in diff.test.ts file

* Rename option in CHANGELOG.md
  • Loading branch information
pedrottimark authored Sep 21, 2019
1 parent 1693028 commit 9583060
Show file tree
Hide file tree
Showing 10 changed files with 536 additions and 524 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
- `[jest-diff]` Add `includeChangeCounts` and rename `Indicator` options ([#8881](https://github.com/facebook/jest/pull/8881))
- `[jest-diff]` Add `changeColor` and `patchColor` options ([#8911](https://github.com/facebook/jest/pull/8911))
- `[jest-diff]` Add `trailingSpaceFormatter` option and replace cyan with `commonColor` ([#8927](https://github.com/facebook/jest/pull/8927))
- `[jest-diff]` Add `firstOrLastEmptyLineReplacement` option and export 3 `diffLines` functions ([#8955](https://github.com/facebook/jest/pull/8955))
- `[jest-environment-jsdom]` Add `fakeTimersLolex` ([#8925](https://github.com/facebook/jest/pull/8925))
- `[jest-environment-node]` Add `fakeTimersLolex` ([#8925](https://github.com/facebook/jest/pull/8925))
- `[@jest/fake-timers]` Add Lolex as implementation of fake timers ([#8897](https://github.com/facebook/jest/pull/8897))
Expand Down
Loading

0 comments on commit 9583060

Please sign in to comment.