Skip to content
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

Updates frontend to Typescript to 3.3.1 #772

Merged
merged 3 commits into from
Feb 14, 2019

Conversation

rileyjbauer
Copy link
Contributor

@rileyjbauer rileyjbauer commented Feb 1, 2019

Also updates code around CustomTable customRenderer to make better use of FunctionComponent typings.


This change is Reviewable

@rileyjbauer rileyjbauer force-pushed the update-typescript-version branch from 7722634 to 280831c Compare February 1, 2019 21:56
@rileyjbauer rileyjbauer changed the title [WIP] Updates frontend to Typescript to 3.3.1 Updates frontend to Typescript to 3.3.1 Feb 1, 2019
Copy link
Contributor

@yebrahim yebrahim left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, this is much cleaner!

afterEach(async () => {
// unmount() should be called before resetAllMocks() in case any part of the unmount life cycle
// depends on mocks/spies
if (tree) {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You don't need the check. I don't think anything happens if the tree is unmounted.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why the await?

Copy link
Contributor Author

@rileyjbauer rileyjbauer Feb 5, 2019

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It seems like the await probably isn't needed. We do it in many other tests though. I'll go through and clean that up

@rileyjbauer rileyjbauer force-pushed the update-typescript-version branch from 280831c to f80b719 Compare February 7, 2019 17:32
@rileyjbauer
Copy link
Contributor Author

/retest

2 similar comments
@IronPan
Copy link
Member

IronPan commented Feb 9, 2019

/retest

@rileyjbauer
Copy link
Contributor Author

/retest

@rileyjbauer
Copy link
Contributor Author

/test kubeflow-pipeline-sample-test

@rileyjbauer rileyjbauer force-pushed the update-typescript-version branch from 15ba7ab to 627f7c0 Compare February 13, 2019 18:42
…mRenderer to make better use of FunctionComponent typings
@rileyjbauer rileyjbauer force-pushed the update-typescript-version branch from 627f7c0 to b00f0b5 Compare February 13, 2019 22:01
@rileyjbauer
Copy link
Contributor Author

/test kubeflow-pipeline-sample-test

@rileyjbauer
Copy link
Contributor Author

/test kubeflow-pipeline-e2e-test

@k8s-ci-robot
Copy link
Contributor

k8s-ci-robot commented Feb 14, 2019

@rileyjbauer: The following test failed, say /retest to rerun them all:

Test name Commit Details Rerun command
kubeflow-pipeline-sample-test 15ba7ab link /test kubeflow-pipeline-sample-test

Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR.

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. I understand the commands that are listed here.

@yebrahim
Copy link
Contributor

/lgtm
/approve

@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: yebrahim

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@rileyjbauer rileyjbauer merged commit f07d578 into kubeflow:master Feb 14, 2019
@rileyjbauer rileyjbauer deleted the update-typescript-version branch May 6, 2019 22:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants