Skip to content

Commit

Permalink
test: Remove clearTestState for ViewHierarchyTests (#3940)
Browse files Browse the repository at this point in the history
The SentryViewHierarchyTests only need to reset the
SentryDependencyContainer and not reset the whole global test state.
  • Loading branch information
philipphofmann committed May 10, 2024
1 parent ede4414 commit 9537eaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Tests/SentryTests/SentryViewHierarchyTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ class SentryViewHierarchyTests: XCTestCase {

override func tearDown() {
super.tearDown()
clearTestState()
SentryDependencyContainer.reset()
}

func test_Multiple_Window() {
Expand Down

0 comments on commit 9537eaf

Please sign in to comment.