Skip to content

Commit c9f86eb

Browse files
committed
Remove use of integrations in tests
1 parent 1bda802 commit c9f86eb

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

packages/core/RNSentryCocoaTester/RNSentryCocoaTesterTests/RNSentryTests.m

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -65,8 +65,7 @@ - (void)testCreateOptionsWithDictionaryNativeCrashHandlingDefault
6565
error:&error];
6666
XCTAssertNotNil(actualOptions, @"Did not create sentry options");
6767
XCTAssertNil(error, @"Should not pass no error");
68-
XCTAssertEqual([actualOptions.integrations containsObject:@"SentryCrashIntegration"], true,
69-
@"Did not set native crash handling");
68+
XCTAssertTrue(actualOptions.enableCrashHandler, @"Did not set native crash handling")
7069
}
7170

7271
- (void)testCreateOptionsWithDictionaryAutoPerformanceTracingDefault
@@ -98,8 +97,7 @@ - (void)testCreateOptionsWithDictionaryNativeCrashHandlingEnabled
9897
error:&error];
9998
XCTAssertNotNil(actualOptions, @"Did not create sentry options");
10099
XCTAssertNil(error, @"Should not pass no error");
101-
XCTAssertEqual([actualOptions.integrations containsObject:@"SentryCrashIntegration"], true,
102-
@"Did not set native crash handling");
100+
XCTAssertTrue(actualOptions.enableCrashHandler, @"Did not set native crash handling")
103101
}
104102

105103
- (void)testCreateOptionsWithDictionaryAutoPerformanceTracingEnabled

0 commit comments

Comments
 (0)