aboutsummaryrefslogtreecommitdiff
path: root/node_modules/jest
diff options
context:
space:
mode:
Diffstat (limited to 'node_modules/jest')
-rw-r--r--node_modules/jest/LICENSE21
-rw-r--r--node_modules/jest/README.md11
-rwxr-xr-xnode_modules/jest/bin/jest.js13
-rw-r--r--node_modules/jest/build/jest.d.ts8
-rw-r--r--node_modules/jest/build/jest.js61
-rw-r--r--node_modules/jest/package.json68
6 files changed, 182 insertions, 0 deletions
diff --git a/node_modules/jest/LICENSE b/node_modules/jest/LICENSE
new file mode 100644
index 0000000..b96dcb0
--- /dev/null
+++ b/node_modules/jest/LICENSE
@@ -0,0 +1,21 @@
+MIT License
+
+Copyright (c) Facebook, Inc. and its affiliates.
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in all
+copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
+SOFTWARE.
diff --git a/node_modules/jest/README.md b/node_modules/jest/README.md
new file mode 100644
index 0000000..9c3d31e
--- /dev/null
+++ b/node_modules/jest/README.md
@@ -0,0 +1,11 @@
+# Jest
+
+🃏 Delightful JavaScript Testing
+
+- **👩🏻‍💻 Developer Ready**: Complete and ready to set-up JavaScript testing solution. Works out of the box for any React project.
+
+- **🏃🏽 Instant Feedback**: Failed tests run first. Fast interactive mode can switch between running all tests or only test files related to changed files.
+
+- **📸 Snapshot Testing**: Jest can [capture snapshots](https://jestjs.io/docs/snapshot-testing) of React trees or other serializable values to simplify UI testing.
+
+Read More: https://jestjs.io/
diff --git a/node_modules/jest/bin/jest.js b/node_modules/jest/bin/jest.js
new file mode 100755
index 0000000..4a82888
--- /dev/null
+++ b/node_modules/jest/bin/jest.js
@@ -0,0 +1,13 @@
+#!/usr/bin/env node
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+
+const importLocal = require('import-local');
+
+if (!importLocal(__filename)) {
+ require('jest-cli/bin/jest');
+}
diff --git a/node_modules/jest/build/jest.d.ts b/node_modules/jest/build/jest.d.ts
new file mode 100644
index 0000000..d2939e2
--- /dev/null
+++ b/node_modules/jest/build/jest.d.ts
@@ -0,0 +1,8 @@
+/**
+ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
+ *
+ * This source code is licensed under the MIT license found in the
+ * LICENSE file in the root directory of this source tree.
+ */
+export { SearchSource, TestWatcher, createTestScheduler, getVersion, runCLI, } from '@jest/core';
+export { run } from 'jest-cli';
diff --git a/node_modules/jest/build/jest.js b/node_modules/jest/build/jest.js
new file mode 100644
index 0000000..4653452
--- /dev/null
+++ b/node_modules/jest/build/jest.js
@@ -0,0 +1,61 @@
+'use strict';
+
+Object.defineProperty(exports, '__esModule', {
+ value: true
+});
+Object.defineProperty(exports, 'SearchSource', {
+ enumerable: true,
+ get: function () {
+ return _core().SearchSource;
+ }
+});
+Object.defineProperty(exports, 'TestWatcher', {
+ enumerable: true,
+ get: function () {
+ return _core().TestWatcher;
+ }
+});
+Object.defineProperty(exports, 'createTestScheduler', {
+ enumerable: true,
+ get: function () {
+ return _core().createTestScheduler;
+ }
+});
+Object.defineProperty(exports, 'getVersion', {
+ enumerable: true,
+ get: function () {
+ return _core().getVersion;
+ }
+});
+Object.defineProperty(exports, 'run', {
+ enumerable: true,
+ get: function () {
+ return _jestCli().run;
+ }
+});
+Object.defineProperty(exports, 'runCLI', {
+ enumerable: true,
+ get: function () {
+ return _core().runCLI;
+ }
+});
+
+function _core() {
+ const data = require('@jest/core');
+
+ _core = function () {
+ return data;
+ };
+
+ return data;
+}
+
+function _jestCli() {
+ const data = require('jest-cli');
+
+ _jestCli = function () {
+ return data;
+ };
+
+ return data;
+}
diff --git a/node_modules/jest/package.json b/node_modules/jest/package.json
new file mode 100644
index 0000000..b9b57dc
--- /dev/null
+++ b/node_modules/jest/package.json
@@ -0,0 +1,68 @@
+{
+ "name": "jest",
+ "description": "Delightful JavaScript Testing.",
+ "version": "27.5.1",
+ "main": "./build/jest.js",
+ "types": "./build/jest.d.ts",
+ "exports": {
+ ".": {
+ "types": "./build/jest.d.ts",
+ "default": "./build/jest.js"
+ },
+ "./package.json": "./package.json",
+ "./bin/jest": "./bin/jest.js"
+ },
+ "dependencies": {
+ "@jest/core": "^27.5.1",
+ "import-local": "^3.0.2",
+ "jest-cli": "^27.5.1"
+ },
+ "peerDependencies": {
+ "node-notifier": "^8.0.1 || ^9.0.0 || ^10.0.0"
+ },
+ "peerDependenciesMeta": {
+ "node-notifier": {
+ "optional": true
+ }
+ },
+ "bin": "./bin/jest.js",
+ "engines": {
+ "node": "^10.13.0 || ^12.13.0 || ^14.15.0 || >=15.0.0"
+ },
+ "repository": {
+ "type": "git",
+ "url": "https://github.com/facebook/jest"
+ },
+ "homepage": "https://jestjs.io/",
+ "license": "MIT",
+ "keywords": [
+ "ava",
+ "babel",
+ "coverage",
+ "easy",
+ "expect",
+ "facebook",
+ "immersive",
+ "instant",
+ "jasmine",
+ "jest",
+ "jsdom",
+ "mocha",
+ "mocking",
+ "painless",
+ "qunit",
+ "runner",
+ "sandboxed",
+ "snapshot",
+ "tap",
+ "tape",
+ "test",
+ "testing",
+ "typescript",
+ "watch"
+ ],
+ "publishConfig": {
+ "access": "public"
+ },
+ "gitHead": "67c1aa20c5fec31366d733e901fee2b981cb1850"
+}