mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-29 04:35:36 +08:00
Update to 11.0.1
Reviewed By: kassens Differential Revision: D3183738 fb-gh-sync-id: 07be9e1d60413a6d929b15cd72eeba416a6bfc6d fbshipit-source-id: 07be9e1d60413a6d929b15cd72eeba416a6bfc6d
This commit is contained in:
committed by
Facebook Github Bot 5
parent
baa3668160
commit
0bf737ff0a
@@ -1,5 +1,11 @@
|
||||
/**
|
||||
* Copyright 2004-present Facebook. All Rights Reserved.
|
||||
* 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';
|
||||
|
||||
@@ -19,9 +25,8 @@ describe('InteractionMixin', () => {
|
||||
});
|
||||
|
||||
it('should start interactions', () => {
|
||||
var timeout = 123;
|
||||
component.createInteractionHandle(timeout);
|
||||
expect(InteractionManager.createInteractionHandle).toBeCalled(timeout);
|
||||
component.createInteractionHandle();
|
||||
expect(InteractionManager.createInteractionHandle).toBeCalled();
|
||||
});
|
||||
|
||||
it('should end interactions', () => {
|
||||
|
||||
Reference in New Issue
Block a user