Skip to content

Commit 7a97fd7

Browse files
committed
Bump Expo version in integration tests
1 parent fb07bbd commit 7a97fd7

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
@@ -441,12 +441,11 @@ class RNProjectManager extends ProjectManager {
441441
mkdirp.sync(projectDirectory);
442442

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

0 commit comments

Comments
 (0)