镜像站点 · 本页由第三方 GitHub 只读镜像提供,非 GitHub 官方站点,不接受任何登录或凭据输入。前往 github.com
Skip to content

fix: revert missing hooks warnings - #1255

Merged
MatanBobi merged 1 commit into
mainfrom
fix/revert-hooks-warnings
Nov 17, 2023
Merged

MatanBobi merged 1 commit into
mainfrom
fix/revert-hooks-warnings

Conversation

@MatanBobi

Copy link
Copy Markdown
Member

What: This PR reverts #1252 and #1244. Resolves #1253.

Why: The changes here doesn't provide much added value and should be properly documented instead.
Since we can't provide a good experience for users that are manually calling afterEach without globals, we prefer documenting it properly.

How:

Checklist:

  • Documentation added to the
    docs site
  • Tests
  • TypeScript definitions updated
  • Ready to be merged

@codesandbox-ci

Copy link
Copy Markdown

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 5341087:

Sandbox Source
React Configuration
react-testing-library-examples Configuration

@codecov

codecov Bot commented Nov 17, 2023 •

Copy link
Copy Markdown

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (d80319f) 100.00% compared to head (5341087) 100.00%.
Report is 1 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main     #1255   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            4         4           
  Lines          192       192           
  Branches        40        40           
=========================================
  Hits           192       192           
Flag Coverage Δ
canary 100.00% <ø> (ø)
experimental 100.00% <ø> (ø)
latest 100.00% <ø> (ø)

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.

@ITenthusiasm

Copy link
Copy Markdown

Honestly, I think this is the ideal. 😅 Thanks for this 🙏🏾 ❤️

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.

cleanup warnings are fired even if cleanup is fired manually

3 participants