routerPropsFixture.tsx 243 B

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