mirror of
https://github.com/facebook/react-native.git
synced 2025-11-01 09:14:26 +00:00
Made SandCastle run the same Instrumentation Tests that are open sourced and are running on CI
Reviewed By: mkonicek Differential Revision: D3229774 fb-gh-sync-id: 48239e8898eb011ad767bf102aa65025351363c6 fbshipit-source-id: 48239e8898eb011ad767bf102aa65025351363c6
This commit is contained in:
committed by
Facebook Github Bot 6
parent
58876d5a03
commit
f99786cc89
@@ -0,0 +1,38 @@
|
||||
/**
|
||||
* Copyright (c) 2013-present, Facebook, Inc.
|
||||
* All rights reserved.
|
||||
*
|
||||
* This source code is licensed under the BSD-style license found in the
|
||||
* LICENSE file in the root directory of this source tree. An additional grant
|
||||
* of patent rights can be found in the PATENTS file in the same directory.
|
||||
*
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
// Disable YellowBox so we do not have to mock its dependencies
|
||||
console.disableYellowBox = true;
|
||||
|
||||
// Include modules used by integration tests
|
||||
require('ScrollViewTestModule');
|
||||
require('PickerAndroidTestModule');
|
||||
|
||||
// Define catalyst test apps used in integration tests
|
||||
var AppRegistry = require('AppRegistry');
|
||||
|
||||
var apps = [
|
||||
{
|
||||
appKey: 'ScrollViewTestApp',
|
||||
component: () => require('ScrollViewTestModule').ScrollViewTestApp,
|
||||
},
|
||||
{
|
||||
appKey: 'HorizontalScrollViewTestApp',
|
||||
component: () => require('ScrollViewTestModule').HorizontalScrollViewTestApp,
|
||||
},
|
||||
{
|
||||
appKey: 'PickerAndroidTestApp',
|
||||
component: () => require('PickerAndroidTestModule').PickerAndroidTestApp,
|
||||
},
|
||||
];
|
||||
|
||||
module.exports = apps;
|
||||
AppRegistry.registerConfig(apps);
|
||||
Reference in New Issue
Block a user