UNPKG

@100mslive/hms-video-store

Version:

@100mslive Core SDK which abstracts the complexities of webRTC while providing a reactive store for data management with a unidirectional data flow

15 lines (12 loc) 366 B
// Setup for Jest tests // Mock Performance API properly for Jest 29 global.performance = { mark: jest.fn(), measure: jest.fn(() => ({ duration: 0 } as PerformanceMeasure)), clearMarks: jest.fn(), clearMeasures: jest.fn(), getEntriesByName: jest.fn(() => []), getEntriesByType: jest.fn(() => []), now: jest.fn(() => Date.now()), } as any; export {};