mirror of
https://github.com/grafana/grafana.git
synced 2025-09-19 19:12:52 +08: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:

committed by
Tom Ratcliffe

parent
9ad87de0b8
commit
0f88075e4c
@ -20,6 +20,8 @@ export interface Props {
|
||||
|
||||
/**
|
||||
* Wrapps component in redux store provider, Router and GrafanaContext
|
||||
*
|
||||
* @deprecated Use `@grafana/test-utils` `render` method instead
|
||||
*/
|
||||
export function TestProvider(props: Props) {
|
||||
const { store = configureStore(props.storeState), children } = props;
|
||||
|
Reference in New Issue
Block a user