diff --git a/tests/js/sentry-test/initializeOrg.tsx b/tests/js/sentry-test/initializeOrg.tsx index e243c26382c6fa..7bf68ef1244604 100644 --- a/tests/js/sentry-test/initializeOrg.tsx +++ b/tests/js/sentry-test/initializeOrg.tsx @@ -25,6 +25,9 @@ interface InitializeOrgOptions { organization?: Partial; project?: Partial; projects?: Array>; + /** + * @deprecated Use `initialRouterConfig` and the router returned from `render` instead. + */ router?: PartialInjectedRouter; } @@ -77,6 +80,9 @@ export function initializeOrg organization, project: project!, projects, + /** + * @deprecated Use `initialRouterConfig` and the router returned from `render` instead. + */ router, routerProps, };