Open source jest tests for open source components

Reviewed By: bestander

Differential Revision: D3424368

fbshipit-source-id: 116229b64ecc7d8846e803e29fad377a4fb800bb
This commit is contained in:
Pieter De Baets
2016-06-13 08:23:23 -07:00
committed by Facebook Github Bot 6
parent 8afcaa36e6
commit 2151dfbb24
7 changed files with 483 additions and 49 deletions

View 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;