mirror of
https://github.com/actions/labeler.git
synced 2025-12-19 08:38:15 +00:00
build
This commit is contained in:
5
node_modules/@jest/core/build/SnapshotInteractiveMode.d.ts
generated
vendored
5
node_modules/@jest/core/build/SnapshotInteractiveMode.d.ts
generated
vendored
@@ -1,9 +1,8 @@
|
||||
/**
|
||||
* Copyright (c) Facebook, Inc. and its affiliates. 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.
|
||||
* This source code is licensed under the MIT license found in the
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
/// <reference types="node" />
|
||||
import { AggregatedResult, AssertionLocation } from '@jest/test-result';
|
||||
|
||||
2
node_modules/@jest/core/build/SnapshotInteractiveMode.d.ts.map
generated
vendored
2
node_modules/@jest/core/build/SnapshotInteractiveMode.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"SnapshotInteractiveMode.d.ts","sourceRoot":"","sources":["../src/SnapshotInteractiveMode.ts"],"names":[],"mappings":"AAAA;;;;;;GAMG;;AAIH,OAAO,EAAC,gBAAgB,EAAE,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AAMtE,MAAM,CAAC,OAAO,OAAO,uBAAuB;IAC1C,OAAO,CAAC,KAAK,CAAwB;IACrC,OAAO,CAAC,SAAS,CAAU;IAC3B,OAAO,CAAC,uBAAuB,CAGlB;IACb,OAAO,CAAC,eAAe,CAA4B;IACnD,OAAO,CAAC,WAAW,CAAU;IAC7B,OAAO,CAAC,WAAW,CAAS;gBAEhB,IAAI,EAAE,MAAM,CAAC,cAAc;IAMvC,QAAQ;IAIR,aAAa;IAIb,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,eAAe;IA0CvB,OAAO,CAAC,sBAAsB;IAiC9B,OAAO,CAAC,WAAW;IAwBnB,OAAO,CAAC,cAAc;IAYtB,GAAG,CAAC,GAAG,EAAE,MAAM;IAqCf,KAAK;IAML,OAAO;IAMP,iBAAiB,CAAC,OAAO,EAAE,gBAAgB;IAiB3C,OAAO,CAAC,IAAI;IAKZ,GAAG,CACD,4BAA4B,EAAE,KAAK,CAAC,iBAAiB,CAAC,EACtD,cAAc,EAAE,CACd,SAAS,EAAE,iBAAiB,GAAG,IAAI,EACnC,oBAAoB,EAAE,OAAO,KAC1B,OAAO;CAYf"}
|
||||
{"version":3,"file":"SnapshotInteractiveMode.d.ts","sourceRoot":"","sources":["../src/SnapshotInteractiveMode.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAIH,OAAO,EAAC,gBAAgB,EAAE,iBAAiB,EAAC,MAAM,mBAAmB,CAAC;AAMtE,MAAM,CAAC,OAAO,OAAO,uBAAuB;IAC1C,OAAO,CAAC,KAAK,CAAwB;IACrC,OAAO,CAAC,SAAS,CAAU;IAC3B,OAAO,CAAC,uBAAuB,CAGlB;IACb,OAAO,CAAC,eAAe,CAA4B;IACnD,OAAO,CAAC,WAAW,CAAU;IAC7B,OAAO,CAAC,WAAW,CAAS;gBAEhB,IAAI,EAAE,MAAM,CAAC,cAAc;IAMvC,QAAQ;IAIR,aAAa;IAIb,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,eAAe;IA0CvB,OAAO,CAAC,sBAAsB;IAiC9B,OAAO,CAAC,WAAW;IAwBnB,OAAO,CAAC,cAAc;IAYtB,GAAG,CAAC,GAAG,EAAE,MAAM;IAqCf,KAAK;IAML,OAAO;IAMP,iBAAiB,CAAC,OAAO,EAAE,gBAAgB;IAiB3C,OAAO,CAAC,IAAI;IAKZ,GAAG,CACD,4BAA4B,EAAE,KAAK,CAAC,iBAAiB,CAAC,EACtD,cAAc,EAAE,CACd,SAAS,EAAE,iBAAiB,GAAG,IAAI,EACnC,oBAAoB,EAAE,OAAO,KAC1B,OAAO;CAYf"}
|
||||
2
node_modules/@jest/core/build/TestScheduler.d.ts.map
generated
vendored
2
node_modules/@jest/core/build/TestSchedu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AGG;IACH,OAAO,CAAC,iBAAiB;IAazB,OAAO,CAAC,aAAa;CAsBtB"}
|
||||
6
node_modules/@jest/core/build/TestScheduler.js
generated
vendored
6
node_modules/@jest/core/build/TestScheduler.js
generated
vendored
@@ -308,10 +308,14 @@ class TestScheduler {
|
||||
const status = _jestSnapshot().default.cleanup(
|
||||
context.hasteFS,
|
||||
_this._globalConfig.updateSnapshot,
|
||||
_jestSnapshot().default.buildSnapshotResolver(context.config)
|
||||
_jestSnapshot().default.buildSnapshotResolver(context.config),
|
||||
context.config.testPathIgnorePatterns
|
||||
);
|
||||
|
||||
aggregatedResults.snapshot.filesRemoved += status.filesRemoved;
|
||||
aggregatedResults.snapshot.filesRemovedList = (
|
||||
aggregatedResults.snapshot.filesRemovedList || []
|
||||
).concat(status.filesRemovedList);
|
||||
});
|
||||
const updateAll = _this._globalConfig.updateSnapshot === 'all';
|
||||
aggregatedResults.snapshot.didUpdate = updateAll;
|
||||
|
||||
3
node_modules/@jest/core/build/cli/index.d.ts
generated
vendored
3
node_modules/@jest/core/build/cli/index.d.ts
generated
vendored
@@ -43,7 +43,7 @@ export declare const runCLI: (argv: import("yargs").Arguments<Partial<{
|
||||
json: boolean;
|
||||
lastCommit: boolean;
|
||||
logHeapUsage: boolean;
|
||||
maxWorkers: number;
|
||||
maxWorkers: string | number;
|
||||
moduleDirectories: string[];
|
||||
moduleFileExtensions: string[];
|
||||
moduleNameMapper: string;
|
||||
@@ -80,6 +80,7 @@ export declare const runCLI: (argv: import("yargs").Arguments<Partial<{
|
||||
testRunner: string;
|
||||
testSequencer: string;
|
||||
testURL: string;
|
||||
testTimeout: number | null | undefined;
|
||||
timers: string;
|
||||
transform: string;
|
||||
transformIgnorePatterns: string[];
|
||||
|
||||
2
node_modules/@jest/core/build/cli/index.d.ts.map
generated
vendored
2
node_modules/@jest/core/build/cli/index.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAyBnD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8ElB,CAAC"}
|
||||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/cli/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAEH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAAC,gBAAgB,EAAC,MAAM,mBAAmB,CAAC;AAyBnD,eAAO,MAAM,MAAM;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EA8ElB,CAAC"}
|
||||
2
node_modules/@jest/core/build/getChangedFilesPromise.d.ts
generated
vendored
2
node_modules/@jest/core/build/getChangedFilesPromise.d.ts
generated
vendored
@@ -5,6 +5,6 @@
|
||||
* LICENSE file in the root directory of this source tree.
|
||||
*/
|
||||
import { Config } from '@jest/types';
|
||||
declare const _default: (globalConfig: Config.GlobalConfig, configs: Config.ProjectConfig[]) => Promise<import("../../jest-changed-files/build").ChangedFiles> | undefined;
|
||||
declare const _default: (globalConfig: Config.GlobalConfig, configs: Config.ProjectConfig[]) => Promise<import("jest-changed-files").ChangedFiles> | undefined;
|
||||
export default _default;
|
||||
//# sourceMappingURL=getChangedFilesPromise.d.ts.map
|
||||
6
node_modules/@jest/core/build/getNoTestFoundFailed.d.ts
generated
vendored
6
node_modules/@jest/core/build/getNoTestFoundFailed.d.ts
generated
vendored
@@ -1,2 +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 default function getNoTestFoundFailed(): string;
|
||||
//# sourceMappingURL=getNoTestFoundFailed.d.ts.map
|
||||
2
node_modules/@jest/core/build/getNoTestFoundFailed.d.ts.map
generated
vendored
2
node_modules/@jest/core/build/getNoTestFoundFailed.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"getNoTestFoundFailed.d.ts","sourceRoot":"","sources":["../src/getNoTestFoundFailed.ts"],"names":[],"mappings":"AAIA,MAAM,CAAC,OAAO,UAAU,oBAAoB,WAK3C"}
|
||||
{"version":3,"file":"getNoTestFoundFailed.d.ts","sourceRoot":"","sources":["../src/getNoTestFoundFailed.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,MAAM,CAAC,OAAO,UAAU,oBAAoB,WAK3C"}
|
||||
7
node_modules/@jest/core/build/getNoTestFoundFailed.js
generated
vendored
7
node_modules/@jest/core/build/getNoTestFoundFailed.js
generated
vendored
@@ -19,7 +19,12 @@ function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
|
||||
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
function getNoTestFoundFailed() {
|
||||
return (
|
||||
_chalk().default.bold('No failed test found.\n') +
|
||||
|
||||
8
node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.d.ts
generated
vendored
Normal file
8
node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.d.ts
generated
vendored
Normal file
@@ -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 default function getNoTestFoundPassWithNoTests(): string;
|
||||
//# sourceMappingURL=getNoTestFoundPassWithNoTests.d.ts.map
|
||||
1
node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.d.ts.map
generated
vendored
Normal file
1
node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"getNoTestFoundPassWithNoTests.d.ts","sourceRoot":"","sources":["../src/getNoTestFoundPassWithNoTests.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAIH,MAAM,CAAC,OAAO,UAAU,6BAA6B,WAEpD"}
|
||||
30
node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js
generated
vendored
Normal file
30
node_modules/@jest/core/build/getNoTestFoundPassWithNoTests.js
generated
vendored
Normal file
@@ -0,0 +1,30 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
exports.default = getNoTestFoundPassWithNoTests;
|
||||
|
||||
function _chalk() {
|
||||
const data = _interopRequireDefault(require('chalk'));
|
||||
|
||||
_chalk = function _chalk() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
function getNoTestFoundPassWithNoTests() {
|
||||
return _chalk().default.bold('No tests found, exiting with code 0');
|
||||
}
|
||||
6
node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.d.ts
generated
vendored
6
node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.d.ts
generated
vendored
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
import { Config } from '@jest/types';
|
||||
export default function getNoTestFoundRelatedToChangedFiles(globalConfig: Config.GlobalConfig): string;
|
||||
//# sourceMappingURL=getNoTestFoundRelatedToChangedFiles.d.ts.map
|
||||
2
node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.d.ts.map
generated
vendored
2
node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"getNoTestFoundRelatedToChangedFiles.d.ts","sourceRoot":"","sources":["../src/getNoTestFoundRelatedToChangedFiles.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAGnC,MAAM,CAAC,OAAO,UAAU,mCAAmC,CACzD,YAAY,EAAE,MAAM,CAAC,YAAY,UAiBlC"}
|
||||
{"version":3,"file":"getNoTestFoundRelatedToChangedFiles.d.ts","sourceRoot":"","sources":["../src/getNoTestFoundRelatedToChangedFiles.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAGnC,MAAM,CAAC,OAAO,UAAU,mCAAmC,CACzD,YAAY,EAAE,MAAM,CAAC,YAAY,UAiBlC"}
|
||||
7
node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js
generated
vendored
7
node_modules/@jest/core/build/getNoTestFoundRelatedToChangedFiles.js
generated
vendored
@@ -29,7 +29,12 @@ function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
|
||||
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
function getNoTestFoundRelatedToChangedFiles(globalConfig) {
|
||||
const ref = globalConfig.changedSince
|
||||
? `"${globalConfig.changedSince}"`
|
||||
|
||||
6
node_modules/@jest/core/build/getNoTestFoundVerbose.d.ts
generated
vendored
6
node_modules/@jest/core/build/getNoTestFoundVerbose.d.ts
generated
vendored
@@ -1,3 +1,9 @@
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
import { Config } from '@jest/types';
|
||||
import { TestRunData } from './types';
|
||||
export default function getNoTestFoundVerbose(testRunData: TestRunData, globalConfig: Config.GlobalConfig): string;
|
||||
|
||||
2
node_modules/@jest/core/build/getNoTestFoundVerbose.d.ts.map
generated
vendored
2
node_modules/@jest/core/build/getNoTestFoundVerbose.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"getNoTestFoundVerbose.d.ts","sourceRoot":"","sources":["../src/getNoTestFoundVerbose.ts"],"names":[],"mappings":"AAGA,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAEnC,OAAO,EAAQ,WAAW,EAAC,MAAM,SAAS,CAAC;AAE3C,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,MAAM,CAAC,YAAY,GAChC,MAAM,CAqDR"}
|
||||
{"version":3,"file":"getNoTestFoundVerbose.d.ts","sourceRoot":"","sources":["../src/getNoTestFoundVerbose.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAEnC,OAAO,EAAQ,WAAW,EAAC,MAAM,SAAS,CAAC;AAE3C,MAAM,CAAC,OAAO,UAAU,qBAAqB,CAC3C,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,MAAM,CAAC,YAAY,GAChC,MAAM,CAqDR"}
|
||||
7
node_modules/@jest/core/build/getNoTestFoundVerbose.js
generated
vendored
7
node_modules/@jest/core/build/getNoTestFoundVerbose.js
generated
vendored
@@ -21,7 +21,12 @@ function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
|
||||
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
function getNoTestFoundVerbose(testRunData, globalConfig) {
|
||||
const individualResults = testRunData.map(testRun => {
|
||||
const stats = testRun.matches.stats || {};
|
||||
|
||||
2
node_modules/@jest/core/build/getNoTestsFoundMessage.d.ts.map
generated
vendored
2
node_modules/@jest/core/build/getNoTestsFoundMessage.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"getNoTestsFoundMessage.d.ts","sourceRoot":"","sources":["../src/getNoTestsFoundMessage.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAMpC,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAC5C,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,MAAM,CAAC,YAAY,GAChC,MAAM,CAUR"}
|
||||
{"version":3,"file":"getNoTestsFoundMessage.d.ts","sourceRoot":"","sources":["../src/getNoTestsFoundMessage.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAAC,WAAW,EAAC,MAAM,SAAS,CAAC;AAOpC,MAAM,CAAC,OAAO,UAAU,sBAAsB,CAC5C,WAAW,EAAE,WAAW,EACxB,YAAY,EAAE,MAAM,CAAC,YAAY,GAChC,MAAM,CAaR"}
|
||||
8
node_modules/@jest/core/build/getNoTestsFoundMessage.js
generated
vendored
8
node_modules/@jest/core/build/getNoTestsFoundMessage.js
generated
vendored
@@ -19,6 +19,10 @@ var _getNoTestFoundFailed = _interopRequireDefault(
|
||||
require('./getNoTestFoundFailed')
|
||||
);
|
||||
|
||||
var _getNoTestFoundPassWithNoTests = _interopRequireDefault(
|
||||
require('./getNoTestFoundPassWithNoTests')
|
||||
);
|
||||
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
@@ -38,6 +42,10 @@ function getNoTestsFoundMessage(testRunData, globalConfig) {
|
||||
return (0, _getNoTestFoundRelatedToChangedFiles.default)(globalConfig);
|
||||
}
|
||||
|
||||
if (globalConfig.passWithNoTests) {
|
||||
return (0, _getNoTestFoundPassWithNoTests.default)();
|
||||
}
|
||||
|
||||
return testRunData.length === 1 || globalConfig.verbose
|
||||
? (0, _getNoTestFoundVerbose.default)(testRunData, globalConfig)
|
||||
: (0, _getNoTestFound.default)(testRunData, globalConfig);
|
||||
|
||||
1
node_modules/@jest/core/build/jest.d.ts
generated
vendored
1
node_modules/@jest/core/build/jest.d.ts
generated
vendored
@@ -8,4 +8,5 @@ export { default as SearchSource } from './SearchSource';
|
||||
export { default as TestScheduler } from './TestScheduler';
|
||||
export { default as TestWatcher } from './TestWatcher';
|
||||
export { runCLI } from './cli';
|
||||
export { default as getVersion } from './version';
|
||||
//# sourceMappingURL=jest.d.ts.map
|
||||
2
node_modules/@jest/core/build/jest.d.ts.map
generated
vendored
2
node_modules/@jest/core/build/jest.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"jest.d.ts","sourceRoot":"","sources":["../src/jest.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAC,MAAM,EAAC,MAAM,OAAO,CAAC"}
|
||||
{"version":3,"file":"jest.d.ts","sourceRoot":"","sources":["../src/jest.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAC,OAAO,IAAI,YAAY,EAAC,MAAM,gBAAgB,CAAC;AACvD,OAAO,EAAC,OAAO,IAAI,aAAa,EAAC,MAAM,iBAAiB,CAAC;AACzD,OAAO,EAAC,OAAO,IAAI,WAAW,EAAC,MAAM,eAAe,CAAC;AACrD,OAAO,EAAC,MAAM,EAAC,MAAM,OAAO,CAAC;AAC7B,OAAO,EAAC,OAAO,IAAI,UAAU,EAAC,MAAM,WAAW,CAAC"}
|
||||
8
node_modules/@jest/core/build/jest.js
generated
vendored
8
node_modules/@jest/core/build/jest.js
generated
vendored
@@ -27,6 +27,12 @@ Object.defineProperty(exports, 'runCLI', {
|
||||
return _cli.runCLI;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'getVersion', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _version.default;
|
||||
}
|
||||
});
|
||||
|
||||
var _SearchSource = _interopRequireDefault(require('./SearchSource'));
|
||||
|
||||
@@ -36,6 +42,8 @@ var _TestWatcher = _interopRequireDefault(require('./TestWatcher'));
|
||||
|
||||
var _cli = require('./cli');
|
||||
|
||||
var _version = _interopRequireDefault(require('./version'));
|
||||
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
||||
|
||||
6
node_modules/@jest/core/build/pluralize.d.ts
generated
vendored
6
node_modules/@jest/core/build/pluralize.d.ts
generated
vendored
@@ -1,2 +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 default function pluralize(word: string, count: number, ending: string): string;
|
||||
//# sourceMappingURL=pluralize.d.ts.map
|
||||
2
node_modules/@jest/core/build/pluralize.d.ts.map
generated
vendored
2
node_modules/@jest/core/build/pluralize.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"pluralize.d.ts","sourceRoot":"","sources":["../src/pluralize.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,UAE5E"}
|
||||
{"version":3,"file":"pluralize.d.ts","sourceRoot":"","sources":["../src/pluralize.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,MAAM,CAAC,OAAO,UAAU,SAAS,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,UAE5E"}
|
||||
7
node_modules/@jest/core/build/pluralize.js
generated
vendored
7
node_modules/@jest/core/build/pluralize.js
generated
vendored
@@ -5,7 +5,12 @@ Object.defineProperty(exports, '__esModule', {
|
||||
});
|
||||
exports.default = pluralize;
|
||||
|
||||
// Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved.
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
function pluralize(word, count, ending) {
|
||||
return `${count} ${word}${count === 1 ? '' : ending}`;
|
||||
}
|
||||
|
||||
2
node_modules/@jest/core/build/runGlobalHook.d.ts.map
generated
vendored
2
node_modules/@jest/core/build/runGlobalHook.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"runGlobalHook.d.ts","sourceRoot":"","sources":["../src/runGlobalHook.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;;;;;;AAKnC,wBA8EE"}
|
||||
{"version":3,"file":"runGlobalHook.d.ts","sourceRoot":"","sources":["../src/runGlobalHook.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;;;;;;AAKnC,wBAiDE"}
|
||||
78
node_modules/@jest/core/build/runGlobalHook.js
generated
vendored
78
node_modules/@jest/core/build/runGlobalHook.js
generated
vendored
@@ -5,16 +5,6 @@ Object.defineProperty(exports, '__esModule', {
|
||||
});
|
||||
exports.default = void 0;
|
||||
|
||||
function _path() {
|
||||
const data = require('path');
|
||||
|
||||
_path = function _path() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _pEachSeries() {
|
||||
const data = _interopRequireDefault(require('p-each-series'));
|
||||
|
||||
@@ -25,16 +15,6 @@ function _pEachSeries() {
|
||||
return data;
|
||||
}
|
||||
|
||||
function _pirates() {
|
||||
const data = require('pirates');
|
||||
|
||||
_pirates = function _pirates() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _transform() {
|
||||
const data = require('@jest/transform');
|
||||
|
||||
@@ -125,48 +105,30 @@ var _default =
|
||||
: allTests[0].context.config;
|
||||
const transformer = new (_transform()).ScriptTransformer(
|
||||
projectConfig
|
||||
); // Load the transformer to avoid a cycle where we need to load a
|
||||
// transformer in order to transform it in the require hooks
|
||||
);
|
||||
yield transformer.requireAndTranspileModule(
|
||||
modulePath,
|
||||
/*#__PURE__*/
|
||||
(function() {
|
||||
var _ref3 = _asyncToGenerator(function*(m) {
|
||||
const globalModule = (0, _jestUtil().interopRequireDefault)(
|
||||
m
|
||||
).default;
|
||||
|
||||
transformer.preloadTransformer(modulePath);
|
||||
let transforming = false;
|
||||
const revertHook = (0, _pirates().addHook)(
|
||||
(code, filename) => {
|
||||
try {
|
||||
transforming = true;
|
||||
return (
|
||||
transformer.transformSource(filename, code, false).code ||
|
||||
code
|
||||
);
|
||||
} finally {
|
||||
transforming = false;
|
||||
}
|
||||
},
|
||||
{
|
||||
exts: [(0, _path().extname)(modulePath)],
|
||||
ignoreNodeModules: false,
|
||||
matcher: (...args) => {
|
||||
if (transforming) {
|
||||
// Don't transform any dependency required by the transformer itself
|
||||
return false;
|
||||
if (typeof globalModule !== 'function') {
|
||||
throw new TypeError(
|
||||
`${moduleName} file must export a function at ${modulePath}`
|
||||
);
|
||||
}
|
||||
|
||||
return transformer.shouldTransform(...args);
|
||||
}
|
||||
}
|
||||
yield globalModule(globalConfig);
|
||||
});
|
||||
|
||||
return function(_x3) {
|
||||
return _ref3.apply(this, arguments);
|
||||
};
|
||||
})()
|
||||
);
|
||||
const globalModule = (0, _jestUtil().interopRequireDefault)(
|
||||
require(modulePath)
|
||||
).default;
|
||||
|
||||
if (typeof globalModule !== 'function') {
|
||||
throw new TypeError(
|
||||
`${moduleName} file must export a function at ${modulePath}`
|
||||
);
|
||||
}
|
||||
|
||||
yield globalModule(globalConfig);
|
||||
revertHook();
|
||||
});
|
||||
|
||||
return function(_x2) {
|
||||
|
||||
2
node_modules/@jest/core/build/runJest.js
generated
vendored
2
node_modules/@jest/core/build/runJest.js
generated
vendored
@@ -335,7 +335,7 @@ var _default =
|
||||
})()
|
||||
)
|
||||
);
|
||||
allTests = sequencer.sort(allTests);
|
||||
allTests = yield sequencer.sort(allTests);
|
||||
|
||||
if (globalConfig.listTests) {
|
||||
const testsPaths = Array.from(new Set(allTests.map(test => test.path)));
|
||||
|
||||
8
node_modules/@jest/core/build/version.d.ts
generated
vendored
Normal file
8
node_modules/@jest/core/build/version.d.ts
generated
vendored
Normal file
@@ -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 default function getVersion(): string;
|
||||
//# sourceMappingURL=version.d.ts.map
|
||||
1
node_modules/@jest/core/build/version.d.ts.map
generated
vendored
Normal file
1
node_modules/@jest/core/build/version.d.ts.map
generated
vendored
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAKH,MAAM,CAAC,OAAO,UAAU,UAAU,IAAI,MAAM,CAE3C"}
|
||||
20
node_modules/@jest/core/build/version.js
generated
vendored
Normal file
20
node_modules/@jest/core/build/version.js
generated
vendored
Normal file
@@ -0,0 +1,20 @@
|
||||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
exports.default = getVersion;
|
||||
|
||||
/**
|
||||
* 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.
|
||||
*/
|
||||
// Cannot be `import` as it's not under TS root dir
|
||||
const _require = require('../package.json'),
|
||||
VERSION = _require.version;
|
||||
|
||||
function getVersion() {
|
||||
return VERSION;
|
||||
}
|
||||
2
node_modules/@jest/core/build/watch.d.ts.map
generated
vendored
2
node_modules/@jest/core/build/watch.d.ts.map
generated
vendored
@@ -1 +1 @@
|
||||
{"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../src/watch.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAKH,OAAO,QAA4B,MAAM,gBAAgB,CAAC;AAI1D,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AACrC,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAGL,QAAQ,EAGT,MAAM,cAAc,CAAC;AAmBtB,OAAO,EAAC,MAAM,EAAC,MAAM,SAAS,CAAC;AAsC/B,MAAM,CAAC,OAAO,UAAU,KAAK,CAC3B,mBAAmB,EAAE,MAAM,CAAC,YAAY,EACxC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,EACxB,YAAY,EAAE,MAAM,CAAC,WAAW,EAChC,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,EAClC,KAAK,GAAE,MAAM,CAAC,UAA0B,EACxC,KAAK,GAAE,QAAyB,EAChC,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CA2Vf"}
|
||||
{"version":3,"file":"watch.d.ts","sourceRoot":"","sources":["../src/watch.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;;AAOH,OAAO,QAA4B,MAAM,gBAAgB,CAAC;AAI1D,OAAO,EAAC,OAAO,EAAC,MAAM,cAAc,CAAC;AAErC,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AACnC,OAAO,EAGL,QAAQ,EAGT,MAAM,cAAc,CAAC;AAmBtB,OAAO,EAAC,MAAM,EAAC,MAAM,SAAS,CAAC;AAsC/B,MAAM,CAAC,OAAO,UAAU,KAAK,CAC3B,mBAAmB,EAAE,MAAM,CAAC,YAAY,EACxC,QAAQ,EAAE,KAAK,CAAC,OAAO,CAAC,EACxB,YAAY,EAAE,MAAM,CAAC,WAAW,EAChC,iBAAiB,EAAE,KAAK,CAAC,QAAQ,CAAC,EAClC,KAAK,GAAE,MAAM,CAAC,UAA0B,EACxC,KAAK,GAAE,QAAyB,EAChC,MAAM,CAAC,EAAE,MAAM,GACd,OAAO,CAAC,IAAI,CAAC,CA2Wf"}
|
||||
67
node_modules/@jest/core/build/watch.js
generated
vendored
67
node_modules/@jest/core/build/watch.js
generated
vendored
@@ -5,6 +5,16 @@ Object.defineProperty(exports, '__esModule', {
|
||||
});
|
||||
exports.default = watch;
|
||||
|
||||
function _path() {
|
||||
const data = _interopRequireDefault(require('path'));
|
||||
|
||||
_path = function _path() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _ansiEscapes() {
|
||||
const data = _interopRequireDefault(require('ansi-escapes'));
|
||||
|
||||
@@ -35,6 +45,16 @@ function _exit() {
|
||||
return data;
|
||||
}
|
||||
|
||||
function _slash() {
|
||||
const data = _interopRequireDefault(require('slash'));
|
||||
|
||||
_slash = function _slash() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _jestMessageUtil() {
|
||||
const data = require('jest-message-util');
|
||||
|
||||
@@ -65,6 +85,16 @@ function _jestValidate() {
|
||||
return data;
|
||||
}
|
||||
|
||||
function _jestResolve() {
|
||||
const data = _interopRequireDefault(require('jest-resolve'));
|
||||
|
||||
_jestResolve = function _jestResolve() {
|
||||
return data;
|
||||
};
|
||||
|
||||
return data;
|
||||
}
|
||||
|
||||
function _jestWatcher() {
|
||||
const data = require('jest-watcher');
|
||||
|
||||
@@ -294,14 +324,34 @@ function watch(
|
||||
_iteratorNormalCompletion2 = true
|
||||
) {
|
||||
const pluginWithConfig = _step2.value;
|
||||
let plugin;
|
||||
|
||||
const ThirdPartyPlugin = require(pluginWithConfig.path);
|
||||
try {
|
||||
const ThirdPartyPlugin = require(pluginWithConfig.path);
|
||||
|
||||
plugin = new ThirdPartyPlugin({
|
||||
config: pluginWithConfig.config,
|
||||
stdin,
|
||||
stdout: outputStream
|
||||
});
|
||||
} catch (error) {
|
||||
const errorWithContext = new Error(
|
||||
`Failed to initialize watch plugin "${_chalk().default.bold(
|
||||
(0, _slash().default)(
|
||||
_path().default.relative(process.cwd(), pluginWithConfig.path)
|
||||
)
|
||||
)}":\n\n${(0, _jestMessageUtil().formatExecError)(
|
||||
error,
|
||||
contexts[0].config,
|
||||
{
|
||||
noStackTrace: false
|
||||
}
|
||||
)}`
|
||||
);
|
||||
delete errorWithContext.stack;
|
||||
return Promise.reject(errorWithContext);
|
||||
}
|
||||
|
||||
const plugin = new ThirdPartyPlugin({
|
||||
config: pluginWithConfig.config,
|
||||
stdin,
|
||||
stdout: outputStream
|
||||
});
|
||||
checkForConflicts(watchPluginKeys, plugin, globalConfig);
|
||||
const hookSubscriber = hooks.getSubscriber();
|
||||
|
||||
@@ -402,7 +452,10 @@ function watch(
|
||||
const changedFilesPromise = (0, _getChangedFilesPromise.default)(
|
||||
globalConfig,
|
||||
configs
|
||||
);
|
||||
); // Clear cache for required modules
|
||||
|
||||
_jestResolve().default.clearDefaultResolverCache();
|
||||
|
||||
return (0, _runJest.default)({
|
||||
changedFilesPromise,
|
||||
contexts,
|
||||
|
||||
Reference in New Issue
Block a user