From 9cfcc2ea9e2663d04b9e73386aa7d37bc406d199 Mon Sep 17 00:00:00 2001 From: Scott Kyle Date: Mon, 26 Oct 2015 14:57:50 -0700 Subject: [PATCH] Fix for running RealmReactTests in release mode The RTCDevMenu is missing the `moduleName` class method in release mode. --- tests/ReactTests/ios/ReactTestsTests/RealmReactTests.m | 2 ++ 1 file changed, 2 insertions(+) diff --git a/tests/ReactTests/ios/ReactTestsTests/RealmReactTests.m b/tests/ReactTests/ios/ReactTestsTests/RealmReactTests.m index fb25097d..434bba66 100644 --- a/tests/ReactTests/ios/ReactTestsTests/RealmReactTests.m +++ b/tests/ReactTests/ios/ReactTestsTests/RealmReactTests.m @@ -66,8 +66,10 @@ extern void JSGlobalContextSetIncludesNativeCallStackWhenReportingExceptions(JSG exit(1); } +#ifdef DEBUG // We don't want the RCTDevMenu from switching the executor class from underneath us. [s_bridge.devMenu invalidate]; +#endif [self waitForNotification:RCTJavaScriptDidLoadNotification]; }