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

Remove act from around userEvent actions #3295

Merged
merged 4 commits into from
Aug 14, 2024
Merged

Conversation

imnasnainaec
Copy link
Collaborator

@imnasnainaec imnasnainaec commented Aug 5, 2024

This fixes the tests that fail when we bump @testing-library/react from v14 to v15/v16.


This change is Reviewable

Copy link

codecov bot commented Aug 5, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.74%. Comparing base (5d7eee8) to head (3e01c9c).
Report is 32 commits behind head on master.

Additional details and impacted files
@@            Coverage Diff             @@
##           master    #3295      +/-   ##
==========================================
+ Coverage   74.62%   74.74%   +0.11%     
==========================================
  Files         279      279              
  Lines       10697    10697              
  Branches     1289     1289              
==========================================
+ Hits         7983     7995      +12     
+ Misses       2351     2341      -10     
+ Partials      363      361       -2     
Flag Coverage Δ
backend 84.11% <ø> (+0.24%) ⬆️
frontend 66.53% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

Copy link
Contributor

@jasonleenaylor jasonleenaylor left a comment

Choose a reason for hiding this comment

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

:lgtm:

Reviewed 7 of 8 files at r1, 1 of 1 files at r2, all commit messages.
Reviewable status: :shipit: complete! all files reviewed, all discussions resolved (waiting on @jmgrady)

@imnasnainaec imnasnainaec enabled auto-merge (squash) August 14, 2024 12:27
@imnasnainaec imnasnainaec merged commit 25c5298 into master Aug 14, 2024
19 checks passed
@imnasnainaec imnasnainaec deleted the react-testing-library branch August 14, 2024 12:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dependencies Pull requests that update a dependency file frontend test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants