Skip to content

chore: remove restoreAllMocks in tests#2660

Merged
AlbinaBlazhko17 merged 2 commits intomainfrom
chore/remove-restore-mocks-from-tests
Mar 16, 2026
Merged

chore: remove restoreAllMocks in tests#2660
AlbinaBlazhko17 merged 2 commits intomainfrom
chore/remove-restore-mocks-from-tests

Conversation

@AlbinaBlazhko17
Copy link
Contributor

What/Why/How?

In the recent PR review i find unused restoreAllMocks in tests.

Reference

Testing

Screenshots (optional)

Check yourself

  • Code changed? - Tested with Redoc/Realm/Reunite (internal)
  • All new/updated code is covered by tests
  • New package installed? - Tested in different environments (browser/node)
  • Documentation update considered

Security

  • The security impact of the change has been considered
  • Code follows company security practices and guidelines

@changeset-bot
Copy link

changeset-bot bot commented Mar 16, 2026

⚠️ No Changeset found

Latest commit: 7a824b9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@github-actions
Copy link
Contributor

github-actions bot commented Mar 16, 2026

Coverage Report

Status Category Percentage Covered / Total
🔵 Lines 79.29% (🎯 79%) 6461 / 8148
🔵 Statements 78.75% (🎯 78%) 6680 / 8482
🔵 Functions 82.52% (🎯 82%) 1318 / 1597
🔵 Branches 71.24% (🎯 71%) 4411 / 6191
File CoverageNo changed files found.
Generated in workflow #8997 for commit 7a824b9 by the Vitest Coverage Report Action

@github-actions
Copy link
Contributor

github-actions bot commented Mar 16, 2026

CLI Version Mean Time ± Std Dev (s) Relative Performance (Lower is Faster)
cli-latest 3.478s ± 0.018s ▓ 1.01x
cli-next 3.460s ± 0.019s ▓ 1.00x (Fastest)

@AlbinaBlazhko17 AlbinaBlazhko17 marked this pull request as ready for review March 16, 2026 10:08
@AlbinaBlazhko17 AlbinaBlazhko17 requested a review from a team as a code owner March 16, 2026 10:08
@AlbinaBlazhko17 AlbinaBlazhko17 merged commit 3c7267f into main Mar 16, 2026
47 of 48 checks passed
@AlbinaBlazhko17 AlbinaBlazhko17 deleted the chore/remove-restore-mocks-from-tests branch March 16, 2026 10:11
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.

2 participants