Updating NPM dependencies

This commit is contained in:
Drew Heavner
2020-11-11 13:30:52 +00:00
committed by GitHub
parent 7a6fb66c63
commit bd487ef324
9068 changed files with 1400893 additions and 587661 deletions

View File

@@ -5,13 +5,11 @@
* LICENSE file in the root directory of this source tree.
*
*/
import { Global } from '@jest/types';
import type { Global } from '@jest/types';
export declare type EachTests = Array<{
title: string;
arguments: Array<unknown>;
}>;
declare type TestFn = (done?: Global.DoneFn) => Promise<any> | void | undefined;
declare type GlobalCallback = (testName: string, fn: TestFn, timeout?: number) => void;
declare const _default: (cb: GlobalCallback, supportsDone?: boolean) => (table: Global.EachTable, ...taggedTemplateData: unknown[]) => (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
declare type GlobalCallback = (testName: string, fn: Global.ConcurrentTestFn, timeout?: number) => void;
declare const _default: <EachCallback extends Global.TestCallback>(cb: GlobalCallback, supportsDone?: boolean) => (table: Global.EachTable, ...taggedTemplateData: Global.TemplateData) => (title: string, test: Global.EachTestFn<EachCallback>, timeout?: number | undefined) => void;
export default _default;
//# sourceMappingURL=bind.d.ts.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"bind.d.ts","sourceRoot":"","sources":["../src/bind.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAEH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAOnC,oBAAY,SAAS,GAAG,KAAK,CAAC;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,KAAK,CAAC,OAAO,CAAC,CAAC;CAC3B,CAAC,CAAC;AAEH,aAAK,MAAM,GAAG,CAAC,IAAI,CAAC,EAAE,MAAM,CAAC,MAAM,KAAK,OAAO,CAAC,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AACxE,aAAK,cAAc,GAAG,CAAC,QAAQ,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,EAAE,OAAO,CAAC,EAAE,MAAM,KAAK,IAAI,CAAC;;AAE/E,wBA2BI"}

View File

@@ -8,7 +8,7 @@ exports.default = void 0;
function _jestUtil() {
const data = require('jest-util');
_jestUtil = function _jestUtil() {
_jestUtil = function () {
return data;
};
@@ -46,7 +46,7 @@ var _default = (cb, supportsDone = true) => (table, ...taggedTemplateData) =>
)
);
} catch (e) {
const error = new (_jestUtil()).ErrorWithStack(e.message, eachBind);
const error = new (_jestUtil().ErrorWithStack)(e.message, eachBind);
return cb(title, () => {
throw error;
});

View File

@@ -5,55 +5,75 @@
* LICENSE file in the root directory of this source tree.
*
*/
import { Global } from '@jest/types';
import type { Global } from '@jest/types';
import bind from './bind';
declare type Global = Global.Global;
declare const each: {
(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;
only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
};
fdescribe: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
fit: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
it: {
(title: string, test: Global.EachTestFn, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
};
test: {
(title: string, test: Global.EachTestFn, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
};
xdescribe: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
xit: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
xtest: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
declare const install: (g: Global, table: Global.EachTable, ...data: Global.TemplateData) => {
describe: {
(title: string, suite: Global.EachTestFn<Global.BlockFn>, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
};
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;
only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
fdescribe: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
fit: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
it: {
(title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
concurrent: {
(title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
};
fdescribe: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
fit: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
};
test: {
(title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
concurrent: {
(title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
};
};
xdescribe: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
xit: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
xtest: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
};
declare const each: {
(table: Global.EachTable, ...data: Global.TemplateData): ReturnType<typeof install>;
withGlobal(g: Global): (table: Global.EachTable, ...data: Global.TemplateData) => {
describe: {
(title: string, suite: Global.EachTestFn<Global.BlockFn>, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
};
fdescribe: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
fit: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
it: {
(title: string, test: Global.EachTestFn, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
(title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
concurrent: {
(title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
};
};
test: {
(title: string, test: Global.EachTestFn, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
only: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
(title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
concurrent: {
(title: string, test: Global.EachTestFn<Global.TestFn>, timeout?: number | undefined): void;
only: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
skip: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
};
};
xdescribe: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
xit: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
xtest: (title: string, test: Global.EachTestFn, timeout?: number | undefined) => void;
xdescribe: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
xit: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
xtest: (title: string, test: Global.EachTestFn<Global.TestCallback>, timeout?: number | undefined) => void;
};
};
export { bind };
export default each;
//# sourceMappingURL=index.d.ts.map

View File

@@ -1 +0,0 @@
{"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,22 +5,12 @@ Object.defineProperty(exports, '__esModule', {
});
Object.defineProperty(exports, 'bind', {
enumerable: true,
get: function get() {
get: function () {
return _bind.default;
}
});
exports.default = void 0;
function _types() {
const data = require('@jest/types');
_types = function _types() {
return data;
};
return data;
}
var _bind = _interopRequireDefault(require('./bind'));
function _interopRequireDefault(obj) {
@@ -35,17 +25,40 @@ function _interopRequireDefault(obj) {
*
*/
const install = (g, table, ...data) => {
const bindingWithArray = data.length === 0;
const bindingWithTemplate = Array.isArray(table) && !!table.raw;
if (!bindingWithArray && !bindingWithTemplate) {
throw new Error(
'`.each` must only be called with an Array or Tagged Template Literal.'
);
}
const test = (title, test, timeout) =>
(0, _bind.default)(g.test)(table, ...data)(title, test, timeout);
test.skip = (0, _bind.default)(g.test.skip)(table, ...data);
test.only = (0, _bind.default)(g.test.only)(table, ...data);
const testConcurrent = (title, test, timeout) =>
(0, _bind.default)(g.test.concurrent)(table, ...data)(title, test, timeout);
test.concurrent = testConcurrent;
testConcurrent.only = (0, _bind.default)(g.test.concurrent.only)(
table,
...data
);
testConcurrent.skip = (0, _bind.default)(g.test.concurrent.skip)(
table,
...data
);
const it = (title, test, timeout) =>
(0, _bind.default)(g.it)(table, ...data)(title, test, timeout);
it.skip = (0, _bind.default)(g.it.skip)(table, ...data);
it.only = (0, _bind.default)(g.it.only)(table, ...data);
it.concurrent = testConcurrent;
const xit = (0, _bind.default)(g.xit)(table, ...data);
const fit = (0, _bind.default)(g.fit)(table, ...data);
const xtest = (0, _bind.default)(g.xtest)(table, ...data);

View File

@@ -5,10 +5,7 @@
* LICENSE file in the root directory of this source tree.
*
*/
import { Global } from '@jest/types';
declare const _default: (title: string, arrayTable: Global.ArrayTable) => {
title: string;
arguments: unknown[];
}[];
import type { Global } from '@jest/types';
import type { EachTests } from '../bind';
declare const _default: (title: string, arrayTable: Global.ArrayTable) => EachTests;
export default _default;
//# sourceMappingURL=array.d.ts.map

View File

@@ -1 +0,0 @@
{"version":3,"file":"array.d.ts","sourceRoot":"","sources":["../../src/table/array.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAKH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;;;;;AASnC,wBAIM"}

View File

@@ -5,10 +5,10 @@ Object.defineProperty(exports, '__esModule', {
});
exports.default = void 0;
function _util() {
const data = _interopRequireDefault(require('util'));
function util() {
const data = _interopRequireWildcard(require('util'));
_util = function _util() {
util = function () {
return data;
};
@@ -18,7 +18,7 @@ function _util() {
function _prettyFormat() {
const data = _interopRequireDefault(require('pretty-format'));
_prettyFormat = function _prettyFormat() {
_prettyFormat = function () {
return data;
};
@@ -29,47 +29,55 @@ function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {default: obj};
}
function _slicedToArray(arr, i) {
return (
_arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _nonIterableRest()
);
function _getRequireWildcardCache() {
if (typeof WeakMap !== 'function') return null;
var cache = new WeakMap();
_getRequireWildcardCache = function () {
return cache;
};
return cache;
}
function _nonIterableRest() {
throw new TypeError('Invalid attempt to destructure non-iterable instance');
}
function _iterableToArrayLimit(arr, i) {
var _arr = [];
var _n = true;
var _d = false;
var _e = undefined;
try {
for (
var _i = arr[Symbol.iterator](), _s;
!(_n = (_s = _i.next()).done);
_n = true
) {
_arr.push(_s.value);
if (i && _arr.length === i) break;
}
} catch (err) {
_d = true;
_e = err;
} finally {
try {
if (!_n && _i['return'] != null) _i['return']();
} finally {
if (_d) throw _e;
function _interopRequireWildcard(obj) {
if (obj && obj.__esModule) {
return obj;
}
if (obj === null || (typeof obj !== 'object' && typeof obj !== 'function')) {
return {default: obj};
}
var cache = _getRequireWildcardCache();
if (cache && cache.has(obj)) {
return cache.get(obj);
}
var newObj = {};
var hasPropertyDescriptor =
Object.defineProperty && Object.getOwnPropertyDescriptor;
for (var key in obj) {
if (Object.prototype.hasOwnProperty.call(obj, key)) {
var desc = hasPropertyDescriptor
? Object.getOwnPropertyDescriptor(obj, key)
: null;
if (desc && (desc.get || desc.set)) {
Object.defineProperty(newObj, key, desc);
} else {
newObj[key] = obj[key];
}
}
}
return _arr;
}
function _arrayWithHoles(arr) {
if (Array.isArray(arr)) return arr;
newObj.default = obj;
if (cache) {
cache.set(obj, newObj);
}
return newObj;
}
/**
* 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 SUPPORTED_PLACEHOLDERS = /%[sdifjoOp%]/g;
const PRETTY_PLACEHOLDER = '%p';
const INDEX_PLACEHOLDER = '%#';
@@ -93,15 +101,12 @@ const colToRow = col => [col];
const formatTitle = (title, row, rowIndex) =>
row
.reduce((formattedTitle, value) => {
const _getMatchingPlacehold = getMatchingPlaceholders(formattedTitle),
_getMatchingPlacehold2 = _slicedToArray(_getMatchingPlacehold, 1),
placeholder = _getMatchingPlacehold2[0];
const [placeholder] = getMatchingPlaceholders(formattedTitle);
const normalisedValue = normalisePlaceholderValue(value);
if (!placeholder) return formattedTitle;
if (placeholder === PRETTY_PLACEHOLDER)
return interpolatePrettyPlaceholder(formattedTitle, normalisedValue);
return _util().default.format(formattedTitle, normalisedValue);
return util().format(formattedTitle, normalisedValue);
}, interpolateTitleIndex(title, rowIndex))
.replace(new RegExp(JEST_EACH_PLACEHOLDER_ESCAPE, 'g'), PLACEHOLDER_PREFIX);

View File

@@ -5,11 +5,11 @@
* LICENSE file in the root directory of this source tree.
*
*/
import type { Global } from '@jest/types';
import type { EachTests } from '../bind';
declare type Template = Record<string, unknown>;
declare const _default: (title: string, headings: string[], row: unknown[]) => {
title: string;
arguments: unknown[];
}[];
declare type Headings = Array<string>;
declare const _default: (title: string, headings: Headings, row: Global.Row) => EachTests;
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];
@@ -17,4 +17,3 @@ export declare function getPath<Obj extends Template, A extends keyof Obj, B ext
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 +0,0 @@
{"version":3,"file":"template.d.ts","sourceRoot":"","sources":["../../src/table/template.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAOH,aAAK,QAAQ,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC;;;;;AAIxC,wBAWE;AA6CF,wBAAgB,OAAO,CACrB,GAAG,SAAS,QAAQ,EACpB,CAAC,SAAS,MAAM,GAAG,EACnB,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC,EACtB,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EACzB,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAC5B,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAC/B,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACvD,wBAAgB,OAAO,CACrB,GAAG,SAAS,QAAQ,EACpB,CAAC,SAAS,MAAM,GAAG,EACnB,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC,EACtB,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EACzB,CAAC,SAAS,MAAM,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAC5B,GAAG,EAAE,GAAG,EAAE,IAAI,EAAE,CAAC,CAAC,EAAE,CAAC,EAAE,CAAC,EAAE,CAAC,CAAC,GAAG,GAAG,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC;AACjD,wBAAgB,OAAO,CACrB,GAAG,SAAS,QAAQ,EACpB,CAAC,SAAS,MAAM,GAAG,EACnB,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

@@ -6,20 +6,20 @@ Object.defineProperty(exports, '__esModule', {
exports.getPath = getPath;
exports.default = void 0;
function _prettyFormat() {
const data = _interopRequireDefault(require('pretty-format'));
function _jestGetType() {
const data = require('jest-get-type');
_prettyFormat = function _prettyFormat() {
_jestGetType = function () {
return data;
};
return data;
}
function _jestGetType() {
const data = require('jest-get-type');
function _prettyFormat() {
const data = _interopRequireDefault(require('pretty-format'));
_jestGetType = function _jestGetType() {
_prettyFormat = function () {
return data;
};

View File

@@ -5,6 +5,6 @@
* LICENSE file in the root directory of this source tree.
*
*/
export declare const validateArrayTable: (table: any) => void;
export declare const validateTemplateTableHeadings: (headings: string[], data: unknown[]) => void;
//# sourceMappingURL=validation.d.ts.map
import type { Global } from '@jest/types';
export declare const validateArrayTable: (table: unknown) => void;
export declare const validateTemplateTableHeadings: (headings: Array<string>, data: Global.TemplateData) => void;

View File

@@ -1 +0,0 @@
{"version":3,"file":"validation.d.ts","sourceRoot":"","sources":["../src/validation.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAWH,eAAO,MAAM,kBAAkB,sBA4B9B,CAAC;AAOF,eAAO,MAAM,6BAA6B,+CAoBzC,CAAC"}

View File

@@ -8,7 +8,7 @@ exports.validateTemplateTableHeadings = exports.validateArrayTable = void 0;
function _chalk() {
const data = _interopRequireDefault(require('chalk'));
_chalk = function _chalk() {
_chalk = function () {
return data;
};
@@ -18,7 +18,7 @@ function _chalk() {
function _prettyFormat() {
const data = _interopRequireDefault(require('pretty-format'));
_prettyFormat = function _prettyFormat() {
_prettyFormat = function () {
return data;
};