summaryrefslogtreecommitdiff
path: root/web/js/selection.js
diff options
context:
space:
mode:
authorPaul Buetow <paul@buetow.org>2026-05-03 19:50:57 +0300
committerPaul Buetow <paul@buetow.org>2026-05-03 19:50:57 +0300
commitdf8f3713abee8b5ec53b5751032200b53673e285 (patch)
tree58b3909e345b02edfb5f5613081f1bd4fde66571 /web/js/selection.js
parent30c2b0fe8232cc748ab2bded6ab4d76febe32425 (diff)
test: raise coverage above 60% in cmd/mediaplayer, model, and probe
- cmd/mediaplayer: add runWithSignal injection point for testing; cover version flag, invalid flags, invalid config, normal shutdown, all log levels, invalid DB, and privileged-port bind failure. Refactor run() to delegate to runWithSignal with optional signal channel. - internal/config: allow PORT=0 (ephemeral) to support test server startup. Update AGENTS.md validation docs accordingly. - internal/model: add comprehensive ScanProgress tests (Start, Done, IncrementFile/Set, SetCurrentSet/FilesTotal, Copy isolation, and concurrent access). - internal/probe: add image tests for isImagePath (all extensions and case insensitivity), real EXIF extraction via ImageMagick + exiv2, Probe against real JPEG, MP4, empty file, and nonexistent paths. - internal/config_test: replace PORT=0 invalid-value test with PORT=-1.
Diffstat (limited to 'web/js/selection.js')
0 files changed, 0 insertions, 0 deletions