We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 94ccb35 commit 67d683aCopy full SHA for 67d683a
apps/example/ios/reactnativedeviceactivityexample/AppDelegate.mm
@@ -1,12 +1,18 @@
1
#import "AppDelegate.h"
2
3
+
4
#import <React/RCTBundleURLProvider.h>
5
#import <React/RCTLinkingManager.h>
6
7
@implementation AppDelegate
8
9
- (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions
10
{
11
+ if (NSClassFromString(@"XCTestCase")) {
12
+ // Skip React Native setup for unit tests
13
+ return YES;
14
+ }
15
16
self.moduleName = @"main";
17
18
// You can add your custom initial props in the dictionary below.
0 commit comments