mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-25 21:05:40 +08:00
Update to 14.0
Reviewed By: kassens Differential Revision: D3627753 fbshipit-source-id: 35b8246c8cb61e60908d8c233a6e72063bf67096
This commit is contained in:
committed by
Facebook Github Bot 7
parent
7971cca4f0
commit
75ecaf4190
@@ -0,0 +1,11 @@
|
||||
/**
|
||||
* Copyright (c) 2015-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';
|
||||
|
||||
module.exports = () => true;
|
||||
@@ -9,11 +9,6 @@
|
||||
|
||||
jest.disableAutomock();
|
||||
|
||||
jest.mock('NativeModules')
|
||||
.mock('Text')
|
||||
.mock('ensureComponentIsNative')
|
||||
.mock('View');
|
||||
|
||||
const React = require('React');
|
||||
const ReactTestRenderer = require('react/lib/ReactTestRenderer');
|
||||
const Text = require('Text');
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
exports[`TouchableHighlight renders correctly 0`] = `
|
||||
exports[`TouchableHighlight renders correctly 1`] = `
|
||||
<View
|
||||
accessibilityComponentType={undefined}
|
||||
accessibilityLabel={undefined}
|
||||
@@ -14,7 +14,9 @@ exports[`TouchableHighlight renders correctly 0`] = `
|
||||
onStartShouldSetResponder={[Function bound touchableHandleStartShouldSetResponder]}
|
||||
style={
|
||||
Array [
|
||||
4,
|
||||
Object {
|
||||
"backgroundColor": "transparent"
|
||||
},
|
||||
Object {}
|
||||
]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user