1 | import * as React from 'react';
|
2 | import { ReactWrapper } from 'enzyme';
|
3 | import { Component } from 'react';
|
4 | import * as ReactTestUtils from 'react-dom/test-utils';
|
5 | export declare function findNodes(wrapper: ReactWrapper<any, any>, className: string): ReactWrapper<any, any>;
|
6 | export declare function expectNodes(wrapper: ReactWrapper<any, any>, className: string, n: number): void;
|
7 | export declare function expectOne(wrapper: ReactWrapper<any, any>, className: string): void;
|
8 | export declare function expectMissing(wrapper: ReactWrapper<any, any>, className: string): void;
|
9 |
|
10 | export declare function delay(millisecond: number): Promise<void>;
|
11 |
|
12 |
|
13 |
|
14 |
|
15 | export declare function mountAttached<C extends Component, P = C['props'], S = C['state']>(element: React.ReactElement<P>): ReactWrapper<P, S, C>;
|
16 | export declare function renderIntoDocument(element: React.ReactElement<any>): HTMLElement;
|
17 | export declare function mockEvent(targetValue?: string): ReactTestUtils.SyntheticEventData;
|
18 |
|
19 |
|
20 |
|
21 |
|
22 | export declare function flushPromises(): Promise<void>;
|