-
-
Notifications
You must be signed in to change notification settings - Fork 4.4k
test(replay): Create test stubs for all replay frames and frame-data #50246
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is copied from the sdk, don't need to commit it because we can wait for an sdk release
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is copied from the sdk, don't need to commit it because we can wait for an sdk release
static/app/utils/replays/types.tsx
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
thinking about moving types into utils/
instead of leaving it in views/`
Some will need to move from the old file into here, and others will be replaced outright with these.
request?: { | ||
_meta?: string[]; | ||
body?: unknown; | ||
headers?: Record<string, string>; | ||
size?: number; | ||
}; | ||
requestBodySize?: number; | ||
response?: { | ||
_meta?: string[]; | ||
body?: unknown; | ||
headers?: Record<string, string>; | ||
size?: number; | ||
}; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
request
and response
are added here. They're not in the SDK yet.
static/app/utils/replays/types.tsx
Outdated
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Of all the files added in this folder, this is the only one that needs to stick around. It'll be updated to import from the sdk.
b627b38
to
e2afed1
Compare
No description provided.