UNPKG

@segment/analytics-react-native

Version:

The hassle-free way to add Segment analytics to your React-Native app.

8 lines 427 B
/// <reference types="jest" /> import type { Persistor } from '@segment/sovran-react-native'; export declare const createMockStore: <T>(initialState: T) => { getState: jest.Mock<Promise<Awaited<T>>, unknown[], any>; dispatch: jest.Mock<Promise<Awaited<T>>, [action: unknown], any>; }; export declare const createTestPersistor: (storage?: Record<string, unknown>) => Persistor; //# sourceMappingURL=test-helpers.d.ts.map