[tests] new test infra - wip
This commit is contained in:
parent
20fcdef51a
commit
92cdeac2bf
2
tests-new/bridge/env/rn.js
vendored
2
tests-new/bridge/env/rn.js
vendored
@ -3,7 +3,7 @@ import RNRestart from 'react-native-restart'; // Import package from node module
|
||||
|
||||
const bridgeNode = global.__bridgeNode;
|
||||
|
||||
// https://github.com/ptmt/react-native-macos/blob/master/React/Modules/RCTDevSettings.mm
|
||||
// https://github.com/facebook/react-native/blob/master/React/Modules/RCTDevSettings.mm
|
||||
if (Platform.OS === 'ios' && !bridgeNode) {
|
||||
NativeModules.RCTDevSettings.setIsDebuggingRemotely(true);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user