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

MPDX-8120 - Tools - Replacing await waitFor(...) with findBy... #1017

Merged
merged 3 commits into from
Aug 30, 2024

Conversation

dr-bizz
Copy link
Contributor

@dr-bizz dr-bizz commented Aug 29, 2024

Description

As requested in a previous PR, In the Tools components, I have replaced all code where it was await waitFor(expect(...)) with expect(await findBy...).

Checklist:

  • I have given my PR a title with the format "MPDX-(JIRA#) (summary sentence max 80 chars)"
  • I have applied the appropriate labels. (Add the label "On Staging" to get the branch automatically merged into staging.)
  • I have requested a review from another person on the project

@dr-bizz dr-bizz requested a review from canac August 29, 2024 13:21
@dr-bizz dr-bizz changed the title Tools - Replacing await waitFor(...) with findBy... MPDX-8120 - Tools - Replacing await waitFor(...) with findBy... Aug 29, 2024
Copy link
Contributor

@canac canac left a comment

Choose a reason for hiding this comment

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

Thank you! 🔥 25 net fewer lines of tests to maintain!

Copy link
Contributor

Bundle sizes [mpdx-react]

Compared against 71d517c

No significant changes found

@dr-bizz dr-bizz merged commit 7dae0ac into main Aug 30, 2024
18 checks passed
@dr-bizz dr-bizz deleted the MPDX-8120-findBy branch August 30, 2024 13:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants