diff options
| author | Craig Jennings <c@cjennings.net> | 2026-05-13 06:31:01 -0500 |
|---|---|---|
| committer | Craig Jennings <c@cjennings.net> | 2026-05-13 06:31:01 -0500 |
| commit | 7b371461119d5abafc5adcee06b71ce5629d6820 (patch) | |
| tree | ac3545d42eb1ae1dd0d02daf69e7ec5e8349e7ee /tests/test-custom-ordering-arrayify.el | |
| parent | 9487ffef982ad0f9fb9e0e1930b3c5d82a50085f (diff) | |
| download | dotemacs-7b371461119d5abafc5adcee06b71ce5629d6820.tar.gz dotemacs-7b371461119d5abafc5adcee06b71ce5629d6820.zip | |
test(calibredb-epub): cover seven untested ebook helpers
I added tests for `cj/calibredb-clear-filters`, `cj/force-nov-mode-for-epub`, `cj/--nov-image-padding-cols` (the helper extracted in the previous commit), `cj/nov--natural-window-width`, `cj/nov--metadata-get`, `cj/nov--file-path`, and `cj/nov-jump-to-calibredb`. Each gets Normal, Boundary, and Error cases where they apply: 22 tests in all. The calibredb stubs sit in a new `test-calibredb-epub--with-calibredb-stubs` macro so the three jump-to-calibredb cases stay focused on their branch.
Coverage on `calibredb-epub-config.el` moves from 7/104 (6.7%) to 95/133 (71.4%).
Diffstat (limited to 'tests/test-custom-ordering-arrayify.el')
0 files changed, 0 insertions, 0 deletions
