File tree Expand file tree Collapse file tree
scripts/cocoapods/__tests__ Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1515require_relative "./test_utils/CodegenScriptPhaseExtractorMock.rb"
1616require_relative "./test_utils/FileUtilsMock.rb"
1717
18+ # mocking the min_ios_version_supported function
19+ # as it is not possible to require the original react_native_pod
20+ # without incurring in circular deps
21+ # TODO: move `min_ios_version_supported` to utils.rb
22+ def min_ios_version_supported
23+ return '12.4'
24+ end
25+
1826class CodegenUtilsTests < Test ::Unit ::TestCase
1927 :base_path
2028
@@ -486,14 +494,6 @@ def test_assertCodegenFolderIsEmpty_whenItIsNotEmpty_itAborts
486494
487495 private
488496
489- # mocking the min_ios_version_supported function
490- # as it is not possible to require the original react_native_pod
491- # without incurring in circular deps
492- # TODO: move `min_ios_version_supported` to utils.rb
493- def min_ios_version_supported
494- return '12.4'
495- end
496-
497497 def get_podspec_no_fabric_no_script
498498 spec = {
499499 'name' => "React-Codegen" ,
You can’t perform that action at this time.
0 commit comments