mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
[LOCAL] Fix ruby tests
This commit is contained in:
@@ -17,5 +17,7 @@
|
||||
// control and use as a more reliable xplat flag. For any build that doesn't
|
||||
// have NDEBUG defined, we enable REACT_NATIVE_DEBUG for convenience.
|
||||
#ifndef NDEBUG
|
||||
#ifndef COCOAPODS
|
||||
#define REACT_NATIVE_DEBUG 1
|
||||
#endif
|
||||
#endif
|
||||
|
||||
@@ -107,7 +107,6 @@ class JSEngineTests < Test::Unit::TestCase
|
||||
assert_equal($podInvocation["libevent"][:version], "~> 2.1.12")
|
||||
hermes_engine_pod_invocation = $podInvocation["hermes-engine"]
|
||||
assert_equal(hermes_engine_pod_invocation[:podspec], "../../sdks/hermes-engine/hermes-engine.podspec")
|
||||
assert_equal(hermes_engine_pod_invocation[:tag], "")
|
||||
end
|
||||
|
||||
def test_setupHermes_installsPods_installsFabricSubspecWhenFabricEnabled
|
||||
@@ -122,7 +121,6 @@ class JSEngineTests < Test::Unit::TestCase
|
||||
assert_equal($podInvocation["React-jsi"][:path], "../../ReactCommon/jsi")
|
||||
hermes_engine_pod_invocation = $podInvocation["hermes-engine"]
|
||||
assert_equal(hermes_engine_pod_invocation[:podspec], "../../sdks/hermes-engine/hermes-engine.podspec")
|
||||
assert_equal(hermes_engine_pod_invocation[:tag], "")
|
||||
assert_equal($podInvocation["React-hermes"][:path], "../../ReactCommon/hermes")
|
||||
assert_equal($podInvocation["libevent"][:version], "~> 2.1.12")
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user