obsidian-media-db-sync/tests
afiqzudinhadi 548e4c8ce0 fix(library): isolate per-type sync failures, suppress dry-run notices
syncAll() ran each enabled type's sync in sequence with no per-type
error handling, so one type throwing (e.g. its vault folder missing)
aborted the whole run and skipped libraryLastSync -- every other
enabled type silently never synced. Each type's runSync is now wrapped
individually: failures are logged (and surfaced via Notice unless
quiet) and the loop continues; libraryLastSync still updates after the
loop regardless.

Also: dry-run sync previews now route spec-level flip notifications
(the "chapter/issue out" Notices) through the log instead of a real
Notice, since a dry run never actually writes the change it's
describing.
2026-08-03 22:09:04 +08:00
..
fixtures feat(library): rating line, manga finish-flip notify, game links, dedupe 2026-08-03 16:29:02 +08:00
api-model.test.ts more tests 2026-07-03 11:38:15 +02:00
library-book.test.ts fix(library): first-pass enrich gate skips post-resolve skeletons 2026-08-03 22:08:09 +08:00
library-comic.test.ts fix(library): seed-pass flip guard, manga null-sentinel, mangadex resolve 2026-08-03 22:08:40 +08:00
library-controller.test.ts fix(library): isolate per-type sync failures, suppress dry-run notices 2026-08-03 22:09:04 +08:00
library-engine.test.ts feat(library): generic per-type sync engine + resolve 2026-08-03 16:39:00 +08:00
library-game.test.ts fix(library): first-pass enrich gate skips post-resolve skeletons 2026-08-03 22:08:09 +08:00
library-manga.test.ts fix(library): seed-pass flip guard, manga null-sentinel, mangadex resolve 2026-08-03 22:08:40 +08:00
library-rss.test.ts feat(library): core types + rss/atom chapter feed parser 2026-08-03 15:07:06 +08:00
media-db-file-helper.test.ts more tests 2026-07-03 11:38:15 +02:00
media-type-manager.test.ts fix issue 2026-06-23 19:17:22 +02:00
media-type-models.test.ts more tests 2026-07-03 11:38:15 +02:00
modal-helper.test.ts fix issue 2026-06-23 19:17:22 +02:00
property-mapping.test.ts more tests 2026-07-03 11:38:15 +02:00
result.test.ts more tests 2026-07-03 11:38:15 +02:00
setup.ts more tests 2026-07-03 11:38:15 +02:00
tsconfig.json fix: tests/tsconfig baseUrl after root baseUrl addition (typecheck script) 2026-07-30 12:27:21 +08:00
utils.test.ts more tests 2026-07-03 11:38:15 +02:00
watchlist-build.test.ts fix(watchlist): preserve prev country when TMDB tv lacks production_countries 2026-07-30 15:20:43 +08:00
watchlist-controller.test.ts fix(watchlist): stale-read clobber, concurrency guard, leaked timeout, quiet catch-up notices 2026-07-30 13:24:33 +08:00
watchlist-parse.test.ts fix(watchlist): preserve custom body sections through sync rewrite 2026-07-30 14:59:24 +08:00
watchlist-patch-frontmatter.test.ts feat(library): generic per-type sync engine + resolve 2026-08-03 16:39:00 +08:00
watchlist-render.test.ts fix(watchlist): preserve custom body sections through sync rewrite 2026-07-30 14:59:24 +08:00
watchlist-resolve.test.ts fix(watchlist): resolve 429 backoff + unique-exact-match acceptance 2026-07-30 13:05:31 +08:00
watchlist-sync-engine.test.ts fix(watchlist): preserve custom body sections through sync rewrite 2026-07-30 14:59:24 +08:00
watchlist-tmdb.test.ts feat(watchlist): tmdb client — v3/v4 auth, detail + search 2026-07-30 12:22:27 +08:00
watchlist-yaml.test.ts feat(watchlist): yaml helpers + schema types 2026-07-29 21:47:25 +08:00