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

Commit 8c8fe92

Browse files
Revert changes on test.ts for npx
1 parent 5188318 commit 8c8fe92

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -307,7 +307,7 @@ class RNProjectManager extends ProjectManager {
307307
}
308308
mkdirp.sync(projectDirectory);
309309

310-
return TestUtil.getProcessOutput("npx -y react-native@0.71.3 init " + appName + " --version 0.71.3", { 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 })
311311
.then((e) => { console.log(`"npx react-native init ${appName}" success. cwd=${projectDirectory}`); return e; })
312312
.then(this.copyTemplate.bind(this, templatePath, projectDirectory))
313313
.then<void>(TestUtil.getProcessOutput.bind(undefined, TestConfig.thisPluginInstallString, { cwd: path.join(projectDirectory, TestConfig.TestAppName) }))

0 commit comments

Comments
 (0)