This repository was archived by the owner on May 20, 2026. It is now read-only.
Commit fa41055
authored
test: add comprehensive tests for Tumblr readers (#17)
TumblrReader tests (21):
- load() error handling
- loadFromUrl() with options and callbacks
- Navigation (next, prev, goTo)
- History management
- Cache integration
- getNavigation, hasNavigation
- getCurrentPost, getBlogName
- destroy cleanup
TumblrPlaylistReader tests (21):
- load() error handling
- loadFromPlaylist() with URL extraction
- Navigation (next, prev, goTo)
- ToC generation and navigation
- hasNavigation states
- prefetchAll with progress
- clearCache and ToC updates
- exportAsEpub
- destroy cleanup
Increases test count from 149 to 191 (+42 tests)1 parent 9e56fa8 commit fa41055
2 files changed
Lines changed: 833 additions & 0 deletions
0 commit comments