obsidian-media-db-sync/tests
afiqzudinhadi e0e0462836 fix(watchlist): TV country full name + tmdb_rating precision rounding
TMDB's origin_country returns ISO codes (KR), not full names, causing
a vault regression from South Korea to KR. buildRecord now prefers
production_countries[0].name, falling back to the raw origin_country
code only when absent.

TMDB also now returns vote_average at full precision (6.537), causing
mass diff noise against the vault's 1-decimal convention and spurious
rewrites on precision drift alone. tmdb_rating is now rounded to 1
decimal place.

Loki fixture updated to realistic TMDB shapes (ISO country code +
production_countries) to catch this regression going forward.
2026-07-30 15:00:39 +08:00
..
fixtures fix(watchlist): TV country full name + tmdb_rating precision rounding 2026-07-30 15:00:39 +08:00
api-model.test.ts more tests 2026-07-03 11:38:15 +02: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): TV country full name + tmdb_rating precision rounding 2026-07-30 15:00:39 +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-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