[react-native] Fix tests and re-enable CI
This commit is contained in:
parent
5b25f208c5
commit
c7b1509615
|
@ -138,7 +138,10 @@ function setupProfile() {
|
|||
|
||||
function setUpProcessEnv() {
|
||||
GLOBAL.process = GLOBAL.process || {};
|
||||
GLOBAL.process.env = {NODE_ENV: __DEV__ ? 'development' : 'production'};
|
||||
GLOBAL.process.env = GLOBAL.process.env || {};
|
||||
if (!GLOBAL.process.env.NODE_ENV) {
|
||||
GLOBAL.process.env.NODE_ENV = __DEV__ ? 'development' : 'production';
|
||||
}
|
||||
}
|
||||
|
||||
setUpRedBoxErrorHandler();
|
||||
|
|
|
@ -23,7 +23,7 @@ const readFile = Promise.denodeify(fs.readFile);
|
|||
const MAX_CALLS_PER_WORKER = 600;
|
||||
|
||||
// Worker will timeout if one of the callers timeout.
|
||||
const DEFAULT_MAX_CALL_TIME = 60000;
|
||||
const DEFAULT_MAX_CALL_TIME = 120000;
|
||||
|
||||
const validateOpts = declareOpts({
|
||||
projectRoots: {
|
||||
|
|
Loading…
Reference in New Issue