Skip to content
This repository was archived by the owner on May 20, 2025. It is now read-only.

Commit 684880a

Browse files
Test cocoapods manual install
1 parent 4354e7b commit 684880a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

test/test.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -307,9 +307,9 @@ class RNProjectManager extends ProjectManager {
307307
}
308308
mkdirp.sync(projectDirectory);
309309

310-
return TestUtil.getProcessOutput("npx react-native init " + appName + " --version 0.71.3 --install-pods", { cwd: projectDirectory, timeout: 30 * 60 * 1000 })
311-
.then(()=>{TestUtil.getProcessOutput("gem install cocoapods", { cwd: projectDirectory, timeout: 30 * 60 * 1000 })})
310+
return TestUtil.getProcessOutput("npx react-native init " + appName + " --version 0.71.3 --install-pods", { cwd: projectDirectory, timeout: 30 * 60 * 1000 })
312311
.then((e) => { console.log(`"npx react-native init ${appName}" success. cwd=${projectDirectory}`); return e; })
312+
.then(()=>{TestUtil.getProcessOutput("gem install cocoapods", { cwd: projectDirectory, timeout: 30 * 60 * 1000 })})
313313
.then(this.copyTemplate.bind(this, templatePath, projectDirectory))
314314
.then<void>(TestUtil.getProcessOutput.bind(undefined, TestConfig.thisPluginInstallString, { cwd: path.join(projectDirectory, TestConfig.TestAppName) }))
315315
.then(() => { return null; })

0 commit comments

Comments
 (0)