projectSdkUpdates.ts 447 B

1234567891011121314151617181920
  1. import type {ProjectSdkUpdates} from 'sentry/types/project';
  2. export function ProjectSdkUpdatesFixture(
  3. overrides?: Partial<ProjectSdkUpdates>
  4. ): ProjectSdkUpdates {
  5. return {
  6. projectId: '1',
  7. sdkName: 'sentry.javascript',
  8. sdkVersion: '7.50.0.',
  9. suggestions: [
  10. {
  11. enables: [],
  12. newSdkVersion: '7.63.0',
  13. sdkName: 'sentry.javascript',
  14. type: 'updateSdk',
  15. },
  16. ],
  17. ...overrides,
  18. };
  19. }