Skip to content

Commit

Permalink
Merge pull request #1 from microsoft/rn-0.71-pipeline-fix
Browse files Browse the repository at this point in the history
Bump react-native test app version to 0.71.3
  • Loading branch information
johnf committed Feb 27, 2023
2 parents 586e7cc + 981d286 commit 1bb474d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion code-push-plugin-testing-framework/script/testConfig.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ var TestUtil_1 = require("./TestUtil");
// COMMAND LINE OPTION NAMES, FLAGS, AND DEFAULTS
var DEFAULT_TEST_RUN_DIRECTORY = path.join(os.tmpdir(), TestUtil_1.TestUtil.getPluginName(), "test-run");
var DEFAULT_UPDATES_DIRECTORY = path.join(os.tmpdir(), TestUtil_1.TestUtil.getPluginName(), "updates");
var DEFAULT_PLUGIN_PATH = path.join(__dirname, "../..");
var DEFAULT_PLUGIN_PATH = path.join(__dirname, " ../../../..");
var NPM_PLUGIN_PATH = TestUtil_1.TestUtil.getPluginName();
var SETUP_FLAG_NAME = "--setup";
var DEFAULT_PLUGIN_TGZ_NAME = TestUtil_1.TestUtil.getPluginName() + "-" + TestUtil_1.TestUtil.getPluginVersion() + ".tgz";
Expand Down
2 changes: 1 addition & 1 deletion test/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -307,7 +307,7 @@ class RNProjectManager extends ProjectManager {
}
mkdirp.sync(projectDirectory);

return TestUtil.getProcessOutput("npx react-native init " + appName + " --version 0.67.1", { cwd: projectDirectory, timeout: 30 * 60 * 1000 })
return TestUtil.getProcessOutput("npx react-native init " + appName + " --version 0.71.3", { cwd: projectDirectory, timeout: 30 * 60 * 1000 })
.then((e) => { console.log(`"npx react-native init ${appName}" success. cwd=${projectDirectory}`); return e; })
.then(this.copyTemplate.bind(this, templatePath, projectDirectory))
.then<void>(TestUtil.getProcessOutput.bind(undefined, TestConfig.thisPluginInstallString, { cwd: path.join(projectDirectory, TestConfig.TestAppName) }))
Expand Down

0 comments on commit 1bb474d

Please sign in to comment.