Function renderWithProviders
- renderWithProviders(ui, __namedParameters): {
asFragment: (() => DocumentFragment);
baseElement: HTMLElement;
container: HTMLElement;
debug: ((baseElement?, maxLength?, options?) => void);
findAllByAltText: ((...args) => Promise<HTMLElement[]>);
findAllByDisplayValue: ((...args) => Promise<HTMLElement[]>);
findAllByLabelText: ((...args) => Promise<HTMLElement[]>);
findAllByPlaceholderText: ((...args) => Promise<HTMLElement[]>);
findAllByRole: ((...args) => Promise<HTMLElement[]>);
findAllByTestId: ((...args) => Promise<HTMLElement[]>);
findAllByText: ((...args) => Promise<HTMLElement[]>);
findAllByTitle: ((...args) => Promise<HTMLElement[]>);
findByAltText: ((...args) => Promise<HTMLElement>);
findByDisplayValue: ((...args) => Promise<HTMLElement>);
findByLabelText: ((...args) => Promise<HTMLElement>);
findByPlaceholderText: ((...args) => Promise<HTMLElement>);
findByRole: ((...args) => Promise<HTMLElement>);
findByTestId: ((...args) => Promise<HTMLElement>);
findByText: ((...args) => Promise<HTMLElement>);
findByTitle: ((...args) => Promise<HTMLElement>);
getAllByAltText: ((...args) => HTMLElement[]);
getAllByDisplayValue: ((...args) => HTMLElement[]);
getAllByLabelText: ((...args) => HTMLElement[]);
getAllByPlaceholderText: ((...args) => HTMLElement[]);
getAllByRole: ((...args) => HTMLElement[]);
getAllByTestId: ((...args) => HTMLElement[]);
getAllByText: ((...args) => HTMLElement[]);
getAllByTitle: ((...args) => HTMLElement[]);
getByAltText: ((...args) => HTMLElement);
getByDisplayValue: ((...args) => HTMLElement);
getByLabelText: ((...args) => HTMLElement);
getByPlaceholderText: ((...args) => HTMLElement);
getByRole: ((...args) => HTMLElement);
getByTestId: ((...args) => HTMLElement);
getByText: ((...args) => HTMLElement);
getByTitle: ((...args) => HTMLElement);
queryAllByAltText: ((...args) => HTMLElement[]);
queryAllByDisplayValue: ((...args) => HTMLElement[]);
queryAllByLabelText: ((...args) => HTMLElement[]);
queryAllByPlaceholderText: ((...args) => HTMLElement[]);
queryAllByRole: ((...args) => HTMLElement[]);
queryAllByTestId: ((...args) => HTMLElement[]);
queryAllByText: ((...args) => HTMLElement[]);
queryAllByTitle: ((...args) => HTMLElement[]);
queryByAltText: ((...args) => null | HTMLElement);
queryByDisplayValue: ((...args) => null | HTMLElement);
queryByLabelText: ((...args) => null | HTMLElement);
queryByPlaceholderText: ((...args) => null | HTMLElement);
queryByRole: ((...args) => null | HTMLElement);
queryByTestId: ((...args) => null | HTMLElement);
queryByText: ((...args) => null | HTMLElement);
queryByTitle: ((...args) => null | HTMLElement);
rerender: ((ui) => void);
store: ToolkitStore<CombinedState<Object>, AnyAction, [ThunkMiddleware<CombinedState<Object>, AnyAction, undefined>]>;
unmount: (() => void);
}
-
Returns {
asFragment: (() => DocumentFragment);
baseElement: HTMLElement;
container: HTMLElement;
debug: ((baseElement?, maxLength?, options?) => void);
findAllByAltText: ((...args) => Promise<HTMLElement[]>);
findAllByDisplayValue: ((...args) => Promise<HTMLElement[]>);
findAllByLabelText: ((...args) => Promise<HTMLElement[]>);
findAllByPlaceholderText: ((...args) => Promise<HTMLElement[]>);
findAllByRole: ((...args) => Promise<HTMLElement[]>);
findAllByTestId: ((...args) => Promise<HTMLElement[]>);
findAllByText: ((...args) => Promise<HTMLElement[]>);
findAllByTitle: ((...args) => Promise<HTMLElement[]>);
findByAltText: ((...args) => Promise<HTMLElement>);
findByDisplayValue: ((...args) => Promise<HTMLElement>);
findByLabelText: ((...args) => Promise<HTMLElement>);
findByPlaceholderText: ((...args) => Promise<HTMLElement>);
findByRole: ((...args) => Promise<HTMLElement>);
findByTestId: ((...args) => Promise<HTMLElement>);
findByText: ((...args) => Promise<HTMLElement>);
findByTitle: ((...args) => Promise<HTMLElement>);
getAllByAltText: ((...args) => HTMLElement[]);
getAllByDisplayValue: ((...args) => HTMLElement[]);
getAllByLabelText: ((...args) => HTMLElement[]);
getAllByPlaceholderText: ((...args) => HTMLElement[]);
getAllByRole: ((...args) => HTMLElement[]);
getAllByTestId: ((...args) => HTMLElement[]);
getAllByText: ((...args) => HTMLElement[]);
getAllByTitle: ((...args) => HTMLElement[]);
getByAltText: ((...args) => HTMLElement);
getByDisplayValue: ((...args) => HTMLElement);
getByLabelText: ((...args) => HTMLElement);
getByPlaceholderText: ((...args) => HTMLElement);
getByRole: ((...args) => HTMLElement);
getByTestId: ((...args) => HTMLElement);
getByText: ((...args) => HTMLElement);
getByTitle: ((...args) => HTMLElement);
queryAllByAltText: ((...args) => HTMLElement[]);
queryAllByDisplayValue: ((...args) => HTMLElement[]);
queryAllByLabelText: ((...args) => HTMLElement[]);
queryAllByPlaceholderText: ((...args) => HTMLElement[]);
queryAllByRole: ((...args) => HTMLElement[]);
queryAllByTestId: ((...args) => HTMLElement[]);
queryAllByText: ((...args) => HTMLElement[]);
queryAllByTitle: ((...args) => HTMLElement[]);
queryByAltText: ((...args) => null | HTMLElement);
queryByDisplayValue: ((...args) => null | HTMLElement);
queryByLabelText: ((...args) => null | HTMLElement);
queryByPlaceholderText: ((...args) => null | HTMLElement);
queryByRole: ((...args) => null | HTMLElement);
queryByTestId: ((...args) => null | HTMLElement);
queryByText: ((...args) => null | HTMLElement);
queryByTitle: ((...args) => null | HTMLElement);
rerender: ((ui) => void);
store: ToolkitStore<CombinedState<Object>, AnyAction, [ThunkMiddleware<CombinedState<Object>, AnyAction, undefined>]>;
unmount: (() => void);
}
-
asFragment: (() => DocumentFragment)
-
- (): DocumentFragment
-
Returns DocumentFragment
-
baseElement: HTMLElement
-
container: HTMLElement
-
debug: ((baseElement?, maxLength?, options?) => void)
-
- (baseElement?, maxLength?, options?): void
-
Parameters
-
Optional
baseElement: Element | DocumentFragment | (Element | DocumentFragment)[]
-
Optional
maxLength: number
-
Returns void
-
findAllByAltText: ((...args) => Promise<HTMLElement[]>)
-
- (...args): Promise<HTMLElement[]>
-
Returns Promise<HTMLElement[]>
-
findAllByDisplayValue: ((...args) => Promise<HTMLElement[]>)
-
- (...args): Promise<HTMLElement[]>
-
Returns Promise<HTMLElement[]>
-
findAllByLabelText: ((...args) => Promise<HTMLElement[]>)
-
- (...args): Promise<HTMLElement[]>
-
Returns Promise<HTMLElement[]>
-
findAllByPlaceholderText: ((...args) => Promise<HTMLElement[]>)
-
- (...args): Promise<HTMLElement[]>
-
Returns Promise<HTMLElement[]>
-
findAllByRole: ((...args) => Promise<HTMLElement[]>)
-
- (...args): Promise<HTMLElement[]>
-
Returns Promise<HTMLElement[]>
-
findAllByTestId: ((...args) => Promise<HTMLElement[]>)
-
- (...args): Promise<HTMLElement[]>
-
Returns Promise<HTMLElement[]>
-
findAllByText: ((...args) => Promise<HTMLElement[]>)
-
- (...args): Promise<HTMLElement[]>
-
Returns Promise<HTMLElement[]>
-
findAllByTitle: ((...args) => Promise<HTMLElement[]>)
-
- (...args): Promise<HTMLElement[]>
-
Returns Promise<HTMLElement[]>
-
findByAltText: ((...args) => Promise<HTMLElement>)
-
- (...args): Promise<HTMLElement>
-
Returns Promise<HTMLElement>
-
findByDisplayValue: ((...args) => Promise<HTMLElement>)
-
- (...args): Promise<HTMLElement>
-
Returns Promise<HTMLElement>
-
findByLabelText: ((...args) => Promise<HTMLElement>)
-
- (...args): Promise<HTMLElement>
-
Returns Promise<HTMLElement>
-
findByPlaceholderText: ((...args) => Promise<HTMLElement>)
-
- (...args): Promise<HTMLElement>
-
Returns Promise<HTMLElement>
-
findByRole: ((...args) => Promise<HTMLElement>)
-
- (...args): Promise<HTMLElement>
-
Returns Promise<HTMLElement>
-
findByTestId: ((...args) => Promise<HTMLElement>)
-
- (...args): Promise<HTMLElement>
-
Returns Promise<HTMLElement>
-
findByText: ((...args) => Promise<HTMLElement>)
-
- (...args): Promise<HTMLElement>
-
Returns Promise<HTMLElement>
-
findByTitle: ((...args) => Promise<HTMLElement>)
-
- (...args): Promise<HTMLElement>
-
Returns Promise<HTMLElement>
-
getAllByAltText: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
getAllByDisplayValue: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
getAllByLabelText: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
getAllByPlaceholderText: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
getAllByRole: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
getAllByTestId: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
getAllByText: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
getAllByTitle: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
getByAltText: ((...args) => HTMLElement)
-
- (...args): HTMLElement
-
Returns HTMLElement
-
getByDisplayValue: ((...args) => HTMLElement)
-
- (...args): HTMLElement
-
Returns HTMLElement
-
getByLabelText: ((...args) => HTMLElement)
-
- (...args): HTMLElement
-
Returns HTMLElement
-
getByPlaceholderText: ((...args) => HTMLElement)
-
- (...args): HTMLElement
-
Returns HTMLElement
-
getByRole: ((...args) => HTMLElement)
-
- (...args): HTMLElement
-
Returns HTMLElement
-
getByTestId: ((...args) => HTMLElement)
-
- (...args): HTMLElement
-
Returns HTMLElement
-
getByText: ((...args) => HTMLElement)
-
- (...args): HTMLElement
-
Returns HTMLElement
-
getByTitle: ((...args) => HTMLElement)
-
- (...args): HTMLElement
-
Returns HTMLElement
-
queryAllByAltText: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
queryAllByDisplayValue: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
queryAllByLabelText: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
queryAllByPlaceholderText: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
queryAllByRole: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
queryAllByTestId: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
queryAllByText: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
queryAllByTitle: ((...args) => HTMLElement[])
-
- (...args): HTMLElement[]
-
Returns HTMLElement[]
-
queryByAltText: ((...args) => null | HTMLElement)
-
- (...args): null | HTMLElement
-
Returns null | HTMLElement
-
queryByDisplayValue: ((...args) => null | HTMLElement)
-
- (...args): null | HTMLElement
-
Returns null | HTMLElement
-
queryByLabelText: ((...args) => null | HTMLElement)
-
- (...args): null | HTMLElement
-
Returns null | HTMLElement
-
queryByPlaceholderText: ((...args) => null | HTMLElement)
-
- (...args): null | HTMLElement
-
Returns null | HTMLElement
-
queryByRole: ((...args) => null | HTMLElement)
-
- (...args): null | HTMLElement
-
Returns null | HTMLElement
-
queryByTestId: ((...args) => null | HTMLElement)
-
- (...args): null | HTMLElement
-
Returns null | HTMLElement
-
queryByText: ((...args) => null | HTMLElement)
-
- (...args): null | HTMLElement
-
Returns null | HTMLElement
-
queryByTitle: ((...args) => null | HTMLElement)
-
- (...args): null | HTMLElement
-
Returns null | HTMLElement
-
rerender: ((ui) => void)
-
-
unmount: (() => void)