routerPropsFixture.ts 237 B

1234567891011
  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. }