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 | 0128bf4fec65ba73b084e70061a54ff1e67e7b63 (patch) | |
| tree | 3ec1c2263ba845f509ffcdca0aaa2652da926936 /modules | |
| parent | 421f4973dafae3e80b8bd9d953a6b7ebcae9b2cf (diff) | |
| download | dotemacs-0128bf4fec65ba73b084e70061a54ff1e67e7b63.tar.gz dotemacs-0128bf4fec65ba73b084e70061a54ff1e67e7b63.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
