summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorCraig Jennings <c@cjennings.net>2026-05-13 06:31:01 -0500
committerCraig Jennings <c@cjennings.net>2026-05-13 06:31:01 -0500
commit4a51ae0d9b889ae1aa07a98859dc3e5704427f1e (patch)
tree3710b323b856afb339fa67a1219fbf0562b49576 /modules
parenta941e543200144338faf217cb2d5469a4e0ece4a (diff)
downloaddotemacs-4a51ae0d9b889ae1aa07a98859dc3e5704427f1e.tar.gz
dotemacs-4a51ae0d9b889ae1aa07a98859dc3e5704427f1e.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