mirror of
https://github.com/zhigang1992/react-native.git
synced 2026-04-10 22:47:58 +08:00
Open source jest tests for open source components
Reviewed By: bestander Differential Revision: D3424368 fbshipit-source-id: 116229b64ecc7d8846e803e29fad377a4fb800bb
This commit is contained in:
committed by
Facebook Github Bot 6
parent
8afcaa36e6
commit
2151dfbb24
26
Libraries/Utilities/__tests__/MessageQueueTestModule1.js
Normal file
26
Libraries/Utilities/__tests__/MessageQueueTestModule1.js
Normal file
@@ -0,0 +1,26 @@
|
||||
/**
|
||||
* 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.
|
||||
*
|
||||
* @providesModule MessageQueueTestModule1
|
||||
*/
|
||||
'use strict';
|
||||
|
||||
/**
|
||||
* Dummy module that only exists for the sake of proving that the message queue
|
||||
* correctly dispatches to commonJS modules. The `testHook` is overriden by test
|
||||
* cases.
|
||||
*/
|
||||
var MessageQueueTestModule1 = {
|
||||
testHook1: function() {
|
||||
},
|
||||
testHook2: function() {
|
||||
}
|
||||
};
|
||||
|
||||
module.exports = MessageQueueTestModule1;
|
||||
|
||||
Reference in New Issue
Block a user