mirror of
https://github.com/grafana/grafana.git
synced 2025-02-11 08:05:43 -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
|
||||
*
|
||||
* @deprecated Use `@grafana/test-utils` `render` method instead
|
||||
*/
|
||||
export function TestProvider(props: Props) {
|
||||
const { store = configureStore(props.storeState), children } = props;
|
||||
|
Loading…
Reference in New Issue
Block a user