rtfpessoa / diff2html

Pretty diff to html javascript library (diff2html)
https://diff2html.xyz
MIT License
2.79k stars 272 forks source link

reorganize/rename blocks to match tested functions #511

Closed JHWelch closed 9 months ago

JHWelch commented 9 months ago

This is a minor reorganization in the diff2html-tests.ts.

While working on a new feature I noticed that the describe('getJsonFromDiff', () => { /* ... */ } block was wrapping the entire file, and seemed to have what I assume is the old name for patch.

I renamed that section and added a new describe block for the html section.

Decided to handle this separately from the other PR.