mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Mark TestProvider as deprecated
(up for discussion, depending on adoption of test utils. Alternative approach could be to re-use TestProvider in test-utils)
This commit is contained in:
parent
9ad87de0b8
commit
0f88075e4c
@ -20,6 +20,8 @@ export interface Props {
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Wrapps component in redux store provider, Router and GrafanaContext
|
* Wrapps component in redux store provider, Router and GrafanaContext
|
||||||
|
*
|
||||||
|
* @deprecated Use `@grafana/test-utils` `render` method instead
|
||||||
*/
|
*/
|
||||||
export function TestProvider(props: Props) {
|
export function TestProvider(props: Props) {
|
||||||
const { store = configureStore(props.storeState), children } = props;
|
const { store = configureStore(props.storeState), children } = props;
|
||||||
|
Loading…
Reference in New Issue
Block a user