fix(deps): update typescript-projects (#22809)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Co-authored-by: Daniel Dietzler <mail@ddietzler.dev>
This commit is contained in:
renovate[bot]
2025-10-10 00:50:48 +02:00
committed by GitHub
parent a5e0d83d9f
commit ea610760ee
13 changed files with 2725 additions and 2471 deletions

View File

@@ -3,6 +3,7 @@ import { init } from 'svelte-i18n';
beforeAll(async () => {
await init({ fallbackLocale: 'dev' });
Element.prototype.animate = vi.fn().mockImplementation(() => ({ cancel: () => {}, finished: Promise.resolve() }));
});
Object.defineProperty(globalThis, 'matchMedia', {
@@ -16,3 +17,11 @@ Object.defineProperty(globalThis, 'matchMedia', {
dispatchEvent: vi.fn(),
})),
});
vi.mock('$env/dynamic/public', () => {
return {
env: {
PUBLIC_IMMICH_HOSTNAME: '',
},
};
});