Three sites disagreed: model blocked OfflineCache, live gate allowed it, TS sync filter blocked qobuz_download. Decision: ALLOW — an offline copy's queue id is the real Qobuz track id. Flip the TS sync filter and fix the stale model doc comment to match the live gate. Also add Rust lock-in tests (offline_cache_is_castable / offline_cache_is_admitted) and restore the missing $app/environment vitest mock the config already aliases, so queuePlaybackService.test.ts can load. cc
9 lines
411 B
TypeScript
9 lines
411 B
TypeScript
// Test mock for SvelteKit's `$app/environment`.
|
|
// The vitest config aliases `$app` to this directory, but the module was never
|
|
// created, so any test whose import graph reaches `$app/environment` (e.g. via
|
|
// the i18n module) failed to load. This provides the minimal surface the app uses.
|
|
export const browser = false;
|
|
export const dev = false;
|
|
export const building = false;
|
|
export const version = 'test';
|