This commit is contained in:
David Kale
2020-09-08 13:25:36 -04:00
parent e4246d2b5b
commit 91fcbb0108
4227 changed files with 416837 additions and 457884 deletions

4
node_modules/jest-each/LICENSE generated vendored
View File

@@ -1,8 +1,6 @@
MIT License
For Jest software
Copyright (c) 2014-present, Facebook, Inc.
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

2
node_modules/jest-each/README.md generated vendored
View File

@@ -85,7 +85,7 @@ import each from 'jest-each';
```js
// es5
const each = require('jest-each');
const each = require('jest-each').default;
```
## Array of rows

View File

@@ -7,7 +7,7 @@
*/
import { Global } from '@jest/types';
import bind from './bind';
declare type Global = NodeJS.Global;
declare type Global = Global.Global;
declare const each: {
(table: Global.EachTable, ...data: unknown[]): {
describe: {
@@ -31,7 +31,7 @@ declare const each: {
xit: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
xtest: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
};
withGlobal(g: NodeJS.Global): (table: Global.EachTable, ...data: unknown[]) => {
withGlobal(g: Global.Global): (table: Global.EachTable, ...data: unknown[]) => {
describe: {
(title: string, suite: Global.EachTestFn, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;

View File

@@ -1 +1 @@
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,aAAK,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAkC5B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACuB,CAAC;AAOlC,OAAO,EAAC,IAAI,EAAC,CAAC;AAEd,eAAe,IAAI,CAAC"}
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,IAAI,MAAM,QAAQ,CAAC;AAE1B,aAAK,MAAM,GAAG,MAAM,CAAC,MAAM,CAAC;AAiC5B,QAAA,MAAM,IAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CACiC,CAAC;AAO5C,OAAO,EAAC,IAAI,EAAC,CAAC;AAEd,eAAe,IAAI,CAAC"}

View File

@@ -5,9 +5,16 @@
* LICENSE file in the root directory of this source tree.
*
*/
declare type Template = Record<string, unknown>;
declare const _default: (title: string, headings: string[], row: unknown[]) => {
title: string;
arguments: unknown[];
}[];
export default _default;
export declare function getPath<Obj extends Template, A extends keyof Obj, B extends keyof Obj[A], C extends keyof Obj[A][B], D extends keyof Obj[A][B][C], E extends keyof Obj[A][B][C][D]>(obj: Obj, path: [A, B, C, D, E]): Obj[A][B][C][D][E];
export declare function getPath<Obj extends Template, A extends keyof Obj, B extends keyof Obj[A], C extends keyof Obj[A][B], D extends keyof Obj[A][B][C]>(obj: Obj, path: [A, B, C, D]): Obj[A][B][C][D];
export declare function getPath<Obj extends Template, A extends keyof Obj, B extends keyof Obj[A], C extends keyof Obj[A][B]>(obj: Obj, path: [A, B, C]): Obj[A][B][C];
export declare function getPath<Obj extends Template, A extends keyof Obj, B extends keyof Obj[A]>(obj: Obj, path: [A, B]): Obj[A][B];
export declare function getPath<Obj extends Template, A extends keyof Obj>(obj: Obj, path: [A]): Obj[A];
export declare function getPath<Obj extends Template>(obj: Obj, path: Array<string>): unknown;
//# sourceMappingURL=template.d.ts.map

View File

@@ -1 +1 @@
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/table/template.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;;;;AAWH,wBAWE"}
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/table/template.ts"],"names":[],"mappings":"AAAA;;;;;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B,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC,EACtB,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EACzB,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AAC3C,wBAAgB,OAAO,CACrB,GAAG,SAAS,QAAQ,EACpB,CAAC,SAAS,MAAM,GAAG,EACnB,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC,EACtB,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACrC,wBAAgB,OAAO,CAAC,GAAG,SAAS,QAAQ,EAAE,CAAC,SAAS,MAAM,GAAG,EAC/D,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,CAAC,CAAC,CAAC,GACR,GAAG,CAAC,CAAC,CAAC,CAAC;AACV,wBAAgB,OAAO,CAAC,GAAG,SAAS,QAAQ,EAC1C,GAAG,EAAE,GAAG,EACR,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,GAClB,OAAO,CAAC"}

View File

@@ -3,6 +3,7 @@
Object.defineProperty(exports, '__esModule', {
value: true
});
exports.getPath = getPath;
exports.default = void 0;
function _prettyFormat() {
@@ -92,9 +93,10 @@ const replaceKeyPathWithValue = template => (title, match) => {
})
);
};
/* eslint import/export: 0*/
const getPath = (template, [head, ...tail]) => {
function getPath(template, [head, ...tail]) {
if (!head || !template.hasOwnProperty || !template.hasOwnProperty(head))
return template;
return getPath(template[head], tail);
};
}

42
node_modules/jest-each/package.json generated vendored
View File

@@ -1,34 +1,28 @@
{
"_args": [
[
"jest-each@24.8.0",
"/Users/pjquirk/Source/GitHub/actions/labeler"
]
],
"_development": true,
"_from": "jest-each@24.8.0",
"_id": "jest-each@24.8.0",
"_from": "jest-each@^24.9.0",
"_id": "jest-each@24.9.0",
"_inBundle": false,
"_integrity": "sha512-NrwK9gaL5+XgrgoCsd9svsoWdVkK4gnvyhcpzd6m487tXHqIdYeykgq3MKI1u4I+5Zf0tofr70at9dWJDeb+BA==",
"_integrity": "sha512-ONi0R4BvW45cw8s2Lrx8YgbeXL1oCQ/wIDwmsM3CqM/nlblNCPmnC3IPQlMbRFZu3wKdQ2U8BqM6lh3LJ5Bsog==",
"_location": "/jest-each",
"_phantomChildren": {},
"_requested": {
"type": "version",
"type": "range",
"registry": true,
"raw": "jest-each@24.8.0",
"raw": "jest-each@^24.9.0",
"name": "jest-each",
"escapedName": "jest-each",
"rawSpec": "24.8.0",
"rawSpec": "^24.9.0",
"saveSpec": null,
"fetchSpec": "24.8.0"
"fetchSpec": "^24.9.0"
},
"_requiredBy": [
"/jest-circus",
"/jest-jasmine2"
],
"_resolved": "https://registry.npmjs.org/jest-each/-/jest-each-24.8.0.tgz",
"_spec": "24.8.0",
"_where": "/Users/pjquirk/Source/GitHub/actions/labeler",
"_resolved": "https://registry.npmjs.org/jest-each/-/jest-each-24.9.0.tgz",
"_shasum": "eb2da602e2a610898dbc5f1f6df3ba86b55f8b05",
"_spec": "jest-each@^24.9.0",
"_where": "/Users/dakale/dev/GitHub/actions/labeler/node_modules/jest-jasmine2",
"author": {
"name": "Matt Phillips",
"url": "mattphillips"
@@ -36,18 +30,20 @@
"bugs": {
"url": "https://github.com/facebook/jest/issues"
},
"bundleDependencies": false,
"dependencies": {
"@jest/types": "^24.8.0",
"@jest/types": "^24.9.0",
"chalk": "^2.0.1",
"jest-get-type": "^24.8.0",
"jest-util": "^24.8.0",
"pretty-format": "^24.8.0"
"jest-get-type": "^24.9.0",
"jest-util": "^24.9.0",
"pretty-format": "^24.9.0"
},
"deprecated": false,
"description": "Parameterised tests for Jest",
"engines": {
"node": ">= 6"
},
"gitHead": "845728f24b3ef41e450595c384e9b5c9fdf248a4",
"gitHead": "9ad0f4bc6b8bdd94989804226c28c9960d9da7d1",
"homepage": "https://github.com/facebook/jest#readme",
"keywords": [
"jest",
@@ -67,5 +63,5 @@
"directory": "packages/jest-each"
},
"types": "build/index.d.ts",
"version": "24.8.0"
"version": "24.9.0"
}

13
node_modules/jest-each/tsconfig.json generated vendored
View File

@@ -1,13 +0,0 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"rootDir": "src",
"outDir": "build"
},
"references": [
{"path": "../jest-get-type"},
{"path": "../jest-types"},
{"path": "../jest-util"},
{"path": "../pretty-format"}
]
}

File diff suppressed because it is too large Load Diff