sentry-cocoa icon indicating copy to clipboard operation
sentry-cocoa copied to clipboard

test: Remove clearTestState for ViewHierarchyTests

Open philipphofmann opened this issue 1 year ago • 1 comments

The SentryViewHierarchyTests only need to reset the SentryDependencyContainer and not reset the whole global test state.

#skip-changelog

philipphofmann avatar May 06 '24 12:05 philipphofmann

Codecov Report

All modified and coverable lines are covered by tests :white_check_mark:

Project coverage is 90.622%. Comparing base (c379c5e) to head (3d69cd1).

Additional details and impacted files

Impacted file tree graph

@@              Coverage Diff              @@
##              main     #3940       +/-   ##
=============================================
- Coverage   90.663%   90.622%   -0.042%     
=============================================
  Files          581       582        +1     
  Lines        45434     45523       +89     
  Branches     16169     16225       +56     
=============================================
+ Hits         41192     41254       +62     
- Misses        4172      4199       +27     
  Partials        70        70               
Files Coverage Δ
Tests/SentryTests/SentryViewHierarchyTests.swift 91.911% <100.000%> (ø)

... and 24 files with indirect coverage changes


Continue to review full report in Codecov by Sentry.

Legend - Click here to learn more Δ = absolute <relative> (impact), ø = not affected, ? = missing data Powered by Codecov. Last update c379c5e...3d69cd1. Read the comment docs.

codecov[bot] avatar May 06 '24 13:05 codecov[bot]