File tree Expand file tree Collapse file tree 1 file changed +3
-9
lines changed
packages/core/RNSentryCocoaTester/RNSentryCocoaTesterTests Expand file tree Collapse file tree 1 file changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -330,10 +330,7 @@ - (void)testCreateOptionsWithDictionaryEnableLogsEnabled
330330 XCTAssertNotNil (actualOptions, @" Did not create sentry options" );
331331 XCTAssertNil (error, @" Should not pass no error" );
332332
333- id experimentalOptions = [actualOptions valueForKey: @" experimental" ];
334- XCTAssertNotNil (experimentalOptions, @" Experimental options should not be nil" );
335-
336- BOOL enableLogs = [[experimentalOptions valueForKey: @" enableLogs" ] boolValue ];
333+ BOOL enableLogs = [[actualOptions valueForKey: @" enableLogs" ] boolValue ];
337334 XCTAssertTrue (enableLogs, @" enableLogs should be enabled" );
338335}
339336
@@ -351,11 +348,8 @@ - (void)testCreateOptionsWithDictionaryEnableLogsDisabled
351348
352349 XCTAssertNotNil (actualOptions, @" Did not create sentry options" );
353350 XCTAssertNil (error, @" Should not pass no error" );
354-
355- id experimentalOptions = [actualOptions valueForKey: @" experimental" ];
356- XCTAssertNotNil (experimentalOptions, @" Experimental options should not be nil" );
357-
358- BOOL enableLogs = [[experimentalOptions valueForKey: @" enableLogs" ] boolValue ];
351+
352+ BOOL enableLogs = [[actualOptions valueForKey: @" enableLogs" ] boolValue ];
359353 XCTAssertFalse (enableLogs, @" enableLogs should be disabled" );
360354}
361355
You can’t perform that action at this time.
0 commit comments