-
Notifications
You must be signed in to change notification settings - Fork 3k
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
build(react): Fix typescript errors in test files #9982
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.
Overall looks very reasonable to me. I'm gonna look into the type casts a little + the entity profile test failure, and I have one question
@@ -81,7 +81,7 @@ export type NodeData = { | |||
canEditLineage?: boolean; | |||
upstreamRelationships?: Array<LineageRelationship>; | |||
downstreamRelationships?: Array<LineageRelationship>; | |||
health?: Health[]; | |||
health?: Maybe<Health[]>; |
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.
Why was this change necessary? Can we replace usage with health={health ?? undefined}
or something like that instead?
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.
Nvm, seems fine
Merging before smoke tests finish as this should only be frontend test / types changes |
Co-authored-by: Andrew Sikowitz <[email protected]>
Checklist