1 | import { ReactWrapper, CommonWrapper } from 'enzyme';
|
2 | import React from 'react';
|
3 | import { act } from 'react-dom/test-utils';
|
4 | import { WithPolarisTestProviderOptions } from '../components';
|
5 | export { ReactWrapper, act };
|
6 | declare type AnyWrapper = ReactWrapper<any, any> | CommonWrapper<any, any>;
|
7 | export declare function findByTestID(root: ReactWrapper<any, any>, id: string): ReactWrapper<any, any, React.Component<{}, {}, any>>;
|
8 | export declare function trigger(wrapper: AnyWrapper, keypath: string, ...args: any[]): any;
|
9 | export declare function mountWithAppProvider<P>(node: React.ReactElement<P>, context?: WithPolarisTestProviderOptions): ReactWrapper<P, any, React.Component<{}, {}, any>>;
|