Izmjenjena struktura, dodan backand

This commit is contained in:
GotPPay
2017-10-16 11:19:46 +02:00
parent 1ec88afacb
commit 048e32c4aa
37153 changed files with 2975854 additions and 1 deletions

4
web/node_modules/jest-environment-node/.npmignore generated vendored Normal file
View File

@@ -0,0 +1,4 @@
**/__mocks__/**
**/__tests__/**
src
yarn.lock

56
web/node_modules/jest-environment-node/build/index.js generated vendored Normal file
View File

@@ -0,0 +1,56 @@
'use strict'; /**
* Copyright (c) 2014-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.
*
*
*/
const vm = require('vm');var _require =
require('jest-util');const FakeTimers = _require.FakeTimers,installCommonGlobals = _require.installCommonGlobals;
const mock = require('jest-mock');
class NodeEnvironment {
constructor(config) {
this.context = vm.createContext();
const global = this.global = vm.runInContext('this', this.context);
global.global = global;
global.clearInterval = clearInterval;
global.clearTimeout = clearTimeout;
global.Promise = Promise;
global.setInterval = setInterval;
global.setTimeout = setTimeout;
installCommonGlobals(global, config.globals);
this.moduleMocker = new mock.ModuleMocker(global);
this.fakeTimers = new FakeTimers(global, this.moduleMocker, config);
}
dispose() {
if (this.fakeTimers) {
this.fakeTimers.dispose();
}
this.context = null;
this.fakeTimers = null;
}
runScript(script) {
if (this.context) {
return script.runInContext(this.context);
}
return null;
}}
module.exports = NodeEnvironment;

43
web/node_modules/jest-environment-node/package.json generated vendored Normal file
View File

@@ -0,0 +1,43 @@
{
"_from": "jest-environment-node@^20.0.3",
"_id": "jest-environment-node@20.0.3",
"_inBundle": false,
"_integrity": "sha1-1Ii8RhKvLCRumG6K52caCZFj1AM=",
"_location": "/jest-environment-node",
"_phantomChildren": {},
"_requested": {
"type": "range",
"registry": true,
"raw": "jest-environment-node@^20.0.3",
"name": "jest-environment-node",
"escapedName": "jest-environment-node",
"rawSpec": "^20.0.3",
"saveSpec": null,
"fetchSpec": "^20.0.3"
},
"_requiredBy": [
"/jest-config"
],
"_resolved": "https://registry.npmjs.org/jest-environment-node/-/jest-environment-node-20.0.3.tgz",
"_shasum": "d488bc4612af2c246e986e8ae7671a099163d403",
"_spec": "jest-environment-node@^20.0.3",
"_where": "/home/bilal/Saburly/slucajna-televizija/node_modules/jest-config",
"bugs": {
"url": "https://github.com/facebook/jest/issues"
},
"bundleDependencies": false,
"dependencies": {
"jest-mock": "^20.0.3",
"jest-util": "^20.0.3"
},
"deprecated": false,
"homepage": "https://github.com/facebook/jest#readme",
"license": "BSD-3-Clause",
"main": "build/index.js",
"name": "jest-environment-node",
"repository": {
"type": "git",
"url": "git+https://github.com/facebook/jest.git"
},
"version": "20.0.3"
}