Repository navigation
Docs and more tests for #9087 - #10312
Conversation
|
Note: for the tests I used a library called js-combinatorics, and for that I added it to package.json. According to packagephobia it is only 62 kB, so I think it should be fine. It is very useful to quickly assert that the order in which the merge is applied does not matter (which is something I wanted my test to check). If adding extra dev-dependencies like this is not good, I can hard-code all the permutations directly, but that would be a bit ugly and unreadable (in my opinion). |
Codecov Report
@@ Coverage Diff @@
## master #10312 +/- ##
=======================================
Coverage 96.28% 96.28%
=======================================
Files 68 68
Lines 9772 9772
=======================================
Hits 9409 9409
Misses 363 363Continue to review full report at Codecov.
|
|
Thanks @papb 👍 |
Pull Request check-list
Please make sure to review and check all of these items:
npm run testornpm run test-DIALECTpass with this change (including linting)?Description of change
The PR #9735 solved the issue #9087 very nicely. I was thinking that it deserved more tests, to help preventing regressions, and also deserved one section of the tutorial docs to be better explained.
This way, in this PR I have added a strong test to prevent regressions, and also some extra documentation.