mirror of
https://github.com/samsonjs/immich.git
synced 2026-04-04 10:55:53 +00:00
* feat: people infinite scroll * add infinite scroll to show & hide modal * update unit tests * show total people count instead of currently loaded * update personsearchdto
9 lines
200 B
TypeScript
9 lines
200 B
TypeScript
import { vi } from 'vitest';
|
|
|
|
export const getIntersectionObserverMock = () =>
|
|
vi.fn(() => ({
|
|
disconnect: vi.fn(),
|
|
observe: vi.fn(),
|
|
takeRecords: vi.fn(),
|
|
unobserve: vi.fn(),
|
|
}));
|