Make RNTester build and pass again (#22468)

Summary:
Detox was failing because of build errors due to the new xcode10 build system. These errors were fixed by RSNara in b7349f9857 but this callsite was missed.
Pull Request resolved: https://github.com/facebook/react-native/pull/22468

Reviewed By: RSNara

Differential Revision: D13287386

Pulled By: TheSavior

fbshipit-source-id: 8a2df9801c69d851eabe7074ffc12b29c03a636a
This commit is contained in:
Eli White
2018-11-30 18:27:42 -08:00
committed by Facebook Github Bot
parent 003dbaa3d3
commit 3749da1312
3 changed files with 3 additions and 3 deletions

View File

@@ -1,5 +1,5 @@
{
"setupTestFrameworkScriptFile" : "./__tests__/init.js",
"setupTestFrameworkScriptFile" : "./test-init.js",
"testEnvironment": "node",
"bail": true,
"verbose": true

View File

@@ -8,7 +8,7 @@
/* eslint-env jasmine */
const detox = require('detox');
const config = require('../../../package.json').detox;
const config = require('../../package.json').detox;
const adapter = require('detox/runners/jest/adapter');
jest.setTimeout(480000);

View File

@@ -237,7 +237,7 @@
"configurations": {
"ios.sim.release": {
"binaryPath": "RNTester/build/Build/Products/Release-iphonesimulator/RNTester.app/",
"build": "xcodebuild -project RNTester/RNTester.xcodeproj -scheme RNTester -configuration Release -sdk iphonesimulator -derivedDataPath RNTester/build -quiet",
"build": "xcodebuild -project RNTester/RNTester.xcodeproj -scheme RNTester -configuration Release -sdk iphonesimulator -derivedDataPath RNTester/build -UseModernBuildSystem=NO -quiet",
"type": "ios.simulator",
"name": "iPhone 8"
}