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 | bbeca35a9e981f0ecff6a6a1aeab80fcebcea916 (patch) | |
| tree | ac3545d42eb1ae1dd0d02daf69e7ec5e8349e7ee /modules | |
| parent | 00b3997ebaa22dffe0db04688bf0b1fcf3d74bf2 (diff) | |
| download | dotemacs-bbeca35a9e981f0ecff6a6a1aeab80fcebcea916.tar.gz dotemacs-bbeca35a9e981f0ecff6a6a1aeab80fcebcea916.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 'modules')
0 files changed, 0 insertions, 0 deletions
