diff2html/src/__tests__
Pierric Cistac 5915ecdaa1
feature: display message instead of diff if isTooBig is true
A default `Diff too big to be displayed` message is rendered for any file diff where `isTooBig` is `true`.

A new `diffTooBigMessage` option in render config allows to fully customize the message and receives the file index in the diff as an argument. It can be used to render a link to the raw file diff for example.
2021-02-25 14:08:18 -05:00
..
diffs fix: Enforce escape for lines that are not highlighted 2020-07-26 13:56:26 +01:00
diff-parser-tests.ts feature: new diffMaxChanges in parser config 2021-02-25 14:02:43 -05:00
diff2html-tests.ts feature: Hide viewed files 2021-01-23 15:07:14 +00:00
file-list-printer-tests.ts clean: Improve build configurations 2020-01-01 19:51:36 +00:00
hogan-cache-tests.ts clean: Improve build configurations 2020-01-01 19:51:36 +00:00
line-by-line-tests.ts feature: display message instead of diff if isTooBig is true 2021-02-25 14:08:18 -05:00
printer-utils-tests.ts clean: Improve build configurations 2020-01-01 19:51:36 +00:00
side-by-side-printer-tests.ts feature: display message instead of diff if isTooBig is true 2021-02-25 14:08:18 -05:00
utils-tests.ts clean: Improve build configurations 2020-01-01 19:51:36 +00:00