Skip to content

Commit 87fe9e8

Browse files
authored
Bump Expo version in integration tests (#13)
1 parent 676e2ca commit 87fe9e8

2 files changed

Lines changed: 1 addition & 10 deletions

File tree

test/template/app.json

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -26,14 +26,6 @@
2626
"CodePushServerURL": "http://10.0.2.2:3001"
2727
}
2828
}
29-
],
30-
[
31-
"expo-build-properties",
32-
{
33-
"ios": {
34-
"deploymentTarget": "15.5"
35-
}
36-
}
3729
]
3830
]
3931
}

test/test.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -442,12 +442,11 @@ class RNProjectManager extends ProjectManager {
442442
mkdirp.sync(projectDirectory);
443443

444444
if (TestConfig.isExpoApp) {
445-
return TestUtil.getProcessOutput(`npx create-expo-app@latest ${appName} --template blank@sdk-55`, { cwd: projectDirectory, timeout: 30 * 60 * 1000, noLogStdOut: true })
445+
return TestUtil.getProcessOutput(`npx create-expo-app@latest ${appName} --template blank@sdk-57`, { cwd: projectDirectory, timeout: 30 * 60 * 1000, noLogStdOut: true })
446446
.then((e) => { console.log(`"npx expo init ${appName}" success. cwd=${projectDirectory}`); return e; })
447447
.then(this.copyTemplate.bind(this, templatePath, projectDirectory))
448448
.then<void>(TestUtil.getProcessOutput.bind(undefined, TestConfig.thisPluginInstallString, { cwd: path.join(projectDirectory, TestConfig.TestAppName), noLogStdOut: true, noLogStdErr: true }))
449449
.then(installExpoBundleTooling.bind(undefined, path.join(projectDirectory, TestConfig.TestAppName)))
450-
.then<void>(TestUtil.getProcessOutput.bind(undefined, "npx expo install expo-build-properties", { cwd: path.join(projectDirectory, TestConfig.TestAppName), noLogStdOut: true }))
451450
// create-expo-app's blank template ships without a metro.config.js. react-native-xcode.sh's
452451
// bundling step (used both for the initial build and for fast-path scenario-switch rebuilds)
453452
// shells out to react-native's cli.js, which throws "No Metro config found" without one.

0 commit comments

Comments
 (0)