Skip to content

docs: Add teardown best practice to TEST.md#7677

Merged
philprime merged 1 commit intomainfrom
docs/teardown-best-practice
Mar 12, 2026
Merged

docs: Add teardown best practice to TEST.md#7677
philprime merged 1 commit intomainfrom
docs/teardown-best-practice

Conversation

@philipphofmann
Copy link
Member

Summary

#skip-changelog

Recommend addTeardownBlock over global tearDown() to scope
cleanup to only the tests that need it.

Agent transcript: https://claudescope.sentry.dev/share/VzllIibFqOj9XUWSxgWwwovi7XfbHAX1Hj8jmY0tQTo
@github-actions
Copy link
Contributor

github-actions bot commented Mar 12, 2026

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


This PR will not appear in the changelog.


🤖 This preview updates automatically when you update the PR.

@philipphofmann philipphofmann marked this pull request as ready for review March 12, 2026 10:06
@philipphofmann philipphofmann added the ready-to-merge Use this label to trigger all PR workflows label Mar 12, 2026
Copy link
Contributor

@itaybre itaybre left a comment

Choose a reason for hiding this comment

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

LGTM

@philprime philprime enabled auto-merge (squash) March 12, 2026 12:50
@philprime philprime merged commit 6e6aaad into main Mar 12, 2026
187 of 200 checks passed
@philprime philprime deleted the docs/teardown-best-practice branch March 12, 2026 12:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

ready-to-merge Use this label to trigger all PR workflows

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants