diff --git a/Libraries/Interaction/__tests__/InteractionMixin-test.js b/Libraries/Interaction/__tests__/InteractionMixin-test.js index c1cc7f54da..8c53cfec83 100644 --- a/Libraries/Interaction/__tests__/InteractionMixin-test.js +++ b/Libraries/Interaction/__tests__/InteractionMixin-test.js @@ -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', () => { diff --git a/package.json b/package.json index 29aa9ac02d..ba31df8a59 100644 --- a/package.json +++ b/package.json @@ -17,7 +17,6 @@ "^image![a-zA-Z0-9$_-]+$": "GlobalImageStub", "^[./a-zA-Z0-9$_-]+\\.png$": "RelativeImageStub" }, - "testRunner": "/node_modules/jest-cli/src/testRunners/jasmine/jasmine2.js", "testPathIgnorePatterns": [ "/node_modules/" ], @@ -187,7 +186,7 @@ "eslint-plugin-flow-vars": "^0.2.1", "eslint-plugin-react": "^4.2.1", "flow-bin": "0.23.0", - "jest-cli": "0.9.2", + "jest-cli": "11.0.2", "portfinder": "0.4.0", "react": "15.0.2-alpha.2", "shelljs": "0.6.0"