routerPropsFixture.tsx 329 B

1234567891011121314
  1. import {LocationFixture} from 'sentry-fixture/locationFixture';
  2. export function RouterPropsFixture(params = {}) {
  3. return {
  4. location: LocationFixture(),
  5. params: {},
  6. routes: [],
  7. stepBack: () => {},
  8. ...params,
  9. };
  10. }
  11. // TODO(epurkhiser): Remove once removed from getsentry
  12. export default RouterPropsFixture;