initial commit taken from gitlab.lrz.de

This commit is contained in:
privatereese
2018-08-24 18:09:42 +02:00
parent ae54ed4c48
commit fc05486403
28494 changed files with 2159823 additions and 0 deletions

20
node_modules/fbjs/lib/__mocks__/ErrorUtils.js generated vendored Normal file
View File

@@ -0,0 +1,20 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
var ErrorUtils = jest.genMockFromModule('../ErrorUtils');
ErrorUtils.applyWithGuard.mockImplementation(function (callback, context, args) {
return callback.apply(context, args);
});
ErrorUtils.guard.mockImplementation(function (callback) {
return callback;
});
module.exports = ErrorUtils;

10
node_modules/fbjs/lib/__mocks__/base62.js generated vendored Normal file
View File

@@ -0,0 +1,10 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
module.exports = require.requireActual('../base62');

10
node_modules/fbjs/lib/__mocks__/crc32.js generated vendored Normal file
View File

@@ -0,0 +1,10 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
module.exports = require.requireActual('../crc32');

26
node_modules/fbjs/lib/__mocks__/fetch.js generated vendored Normal file
View File

@@ -0,0 +1,26 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @noflow
*/
'use strict';
var Deferred = require.requireActual('../Deferred');
function fetch(uri, options) {
var deferred = new Deferred();
fetch.mock.calls.push([uri, options]);
fetch.mock.deferreds.push(deferred);
return deferred.getPromise();
}
fetch.mock = {
calls: [],
deferreds: []
};
module.exports = fetch;

31
node_modules/fbjs/lib/__mocks__/fetchWithRetries.js generated vendored Normal file
View File

@@ -0,0 +1,31 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @noflow
*/
'use strict';
var Deferred = require.requireActual('../Deferred');
function fetchWithRetries() {
var deferred = new Deferred();
for (var _len = arguments.length, args = Array(_len), _key = 0; _key < _len; _key++) {
args[_key] = arguments[_key];
}
fetchWithRetries.mock.calls.push(args);
fetchWithRetries.mock.deferreds.push(deferred);
return deferred.getPromise();
}
fetchWithRetries.mock = {
calls: [],
deferreds: []
};
module.exports = fetchWithRetries;

12
node_modules/fbjs/lib/__mocks__/nullthrows.js generated vendored Normal file
View File

@@ -0,0 +1,12 @@
/**
* Copyright (c) 2013-present, Facebook, Inc.
*
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*/
'use strict';
jest.dontMock('../nullthrows');
module.exports = require('../nullthrows');