mirror of
https://github.com/actions/setup-java.git
synced 2025-04-21 02:16:45 +00:00
Fix.
This commit is contained in:
parent
596a6da241
commit
c1a589c5b6
7078 changed files with 1882834 additions and 319 deletions
23
node_modules/@jest/test-result/LICENSE
generated
vendored
Normal file
23
node_modules/@jest/test-result/LICENSE
generated
vendored
Normal file
|
@ -0,0 +1,23 @@
|
|||
MIT License
|
||||
|
||||
For Jest software
|
||||
|
||||
Copyright (c) 2014-present, Facebook, Inc.
|
||||
|
||||
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.
|
9
node_modules/@jest/test-result/build/formatTestResults.d.ts
generated
vendored
Normal file
9
node_modules/@jest/test-result/build/formatTestResults.d.ts
generated
vendored
Normal file
|
@ -0,0 +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 { AggregatedResult, CodeCoverageFormatter, CodeCoverageReporter, FormattedTestResults } from './types';
|
||||
export default function formatTestResults(results: AggregatedResult, codeCoverageFormatter?: CodeCoverageFormatter, reporter?: CodeCoverageReporter): FormattedTestResults;
|
||||
//# sourceMappingURL=formatTestResults.d.ts.map
|
1
node_modules/@jest/test-result/build/formatTestResults.d.ts.map
generated
vendored
Normal file
1
node_modules/@jest/test-result/build/formatTestResults.d.ts.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"formatTestResults.d.ts","sourceRoot":"","sources":["../src/formatTestResults.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EACL,gBAAgB,EAEhB,qBAAqB,EACrB,oBAAoB,EAGpB,oBAAoB,EAErB,MAAM,SAAS,CAAC;AAwDjB,MAAM,CAAC,OAAO,UAAU,iBAAiB,CACvC,OAAO,EAAE,gBAAgB,EACzB,qBAAqB,CAAC,EAAE,qBAAqB,EAC7C,QAAQ,CAAC,EAAE,oBAAoB,GAC9B,oBAAoB,CAMtB"}
|
104
node_modules/@jest/test-result/build/formatTestResults.js
generated
vendored
Normal file
104
node_modules/@jest/test-result/build/formatTestResults.js
generated
vendored
Normal file
|
@ -0,0 +1,104 @@
|
|||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
exports.default = formatTestResults;
|
||||
|
||||
function _objectSpread(target) {
|
||||
for (var i = 1; i < arguments.length; i++) {
|
||||
var source = arguments[i] != null ? arguments[i] : {};
|
||||
var ownKeys = Object.keys(source);
|
||||
if (typeof Object.getOwnPropertySymbols === 'function') {
|
||||
ownKeys = ownKeys.concat(
|
||||
Object.getOwnPropertySymbols(source).filter(function(sym) {
|
||||
return Object.getOwnPropertyDescriptor(source, sym).enumerable;
|
||||
})
|
||||
);
|
||||
}
|
||||
ownKeys.forEach(function(key) {
|
||||
_defineProperty(target, key, source[key]);
|
||||
});
|
||||
}
|
||||
return target;
|
||||
}
|
||||
|
||||
function _defineProperty(obj, key, value) {
|
||||
if (key in obj) {
|
||||
Object.defineProperty(obj, key, {
|
||||
value: value,
|
||||
enumerable: true,
|
||||
configurable: true,
|
||||
writable: true
|
||||
});
|
||||
} else {
|
||||
obj[key] = value;
|
||||
}
|
||||
return 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.
|
||||
*/
|
||||
const formatTestResult = (testResult, codeCoverageFormatter, reporter) => {
|
||||
const assertionResults = testResult.testResults.map(formatTestAssertion);
|
||||
|
||||
if (testResult.testExecError) {
|
||||
const now = Date.now();
|
||||
return {
|
||||
assertionResults,
|
||||
coverage: {},
|
||||
endTime: now,
|
||||
message: testResult.failureMessage
|
||||
? testResult.failureMessage
|
||||
: testResult.testExecError.message,
|
||||
name: testResult.testFilePath,
|
||||
startTime: now,
|
||||
status: 'failed',
|
||||
summary: ''
|
||||
};
|
||||
} else {
|
||||
const allTestsPassed = testResult.numFailingTests === 0;
|
||||
return {
|
||||
assertionResults,
|
||||
coverage: codeCoverageFormatter
|
||||
? codeCoverageFormatter(testResult.coverage, reporter)
|
||||
: testResult.coverage,
|
||||
endTime: testResult.perfStats.end,
|
||||
message: testResult.failureMessage || '',
|
||||
name: testResult.testFilePath,
|
||||
startTime: testResult.perfStats.start,
|
||||
status: allTestsPassed ? 'passed' : 'failed',
|
||||
summary: ''
|
||||
};
|
||||
}
|
||||
};
|
||||
|
||||
function formatTestAssertion(assertion) {
|
||||
const result = {
|
||||
ancestorTitles: assertion.ancestorTitles,
|
||||
failureMessages: null,
|
||||
fullName: assertion.fullName,
|
||||
location: assertion.location,
|
||||
status: assertion.status,
|
||||
title: assertion.title
|
||||
};
|
||||
|
||||
if (assertion.failureMessages) {
|
||||
result.failureMessages = assertion.failureMessages;
|
||||
}
|
||||
|
||||
return result;
|
||||
}
|
||||
|
||||
function formatTestResults(results, codeCoverageFormatter, reporter) {
|
||||
const testResults = results.testResults.map(testResult =>
|
||||
formatTestResult(testResult, codeCoverageFormatter, reporter)
|
||||
);
|
||||
return _objectSpread({}, results, {
|
||||
testResults
|
||||
});
|
||||
}
|
11
node_modules/@jest/test-result/build/helpers.d.ts
generated
vendored
Normal file
11
node_modules/@jest/test-result/build/helpers.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
/**
|
||||
* 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 { AggregatedResult, SerializableError, TestResult } from './types';
|
||||
export declare const makeEmptyAggregatedTestResult: () => AggregatedResult;
|
||||
export declare const buildFailureTestResult: (testPath: string, err: SerializableError) => TestResult;
|
||||
export declare const addResult: (aggregatedResults: AggregatedResult, testResult: TestResult) => void;
|
||||
//# sourceMappingURL=helpers.d.ts.map
|
1
node_modules/@jest/test-result/build/helpers.d.ts.map
generated
vendored
Normal file
1
node_modules/@jest/test-result/build/helpers.d.ts.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"helpers.d.ts","sourceRoot":"","sources":["../src/helpers.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAC,gBAAgB,EAAE,iBAAiB,EAAE,UAAU,EAAC,MAAM,SAAS,CAAC;AAExE,eAAO,MAAM,6BAA6B,wBAgCxC,CAAC;AAEH,eAAO,MAAM,sBAAsB,0DA+BjC,CAAC;AAGH,eAAO,MAAM,SAAS,uEAmErB,CAAC"}
|
152
node_modules/@jest/test-result/build/helpers.js
generated
vendored
Normal file
152
node_modules/@jest/test-result/build/helpers.js
generated
vendored
Normal file
|
@ -0,0 +1,152 @@
|
|||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
exports.addResult = exports.buildFailureTestResult = exports.makeEmptyAggregatedTestResult = void 0;
|
||||
|
||||
/**
|
||||
* 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 makeEmptyAggregatedTestResult = () => ({
|
||||
numFailedTestSuites: 0,
|
||||
numFailedTests: 0,
|
||||
numPassedTestSuites: 0,
|
||||
numPassedTests: 0,
|
||||
numPendingTestSuites: 0,
|
||||
numPendingTests: 0,
|
||||
numRuntimeErrorTestSuites: 0,
|
||||
numTodoTests: 0,
|
||||
numTotalTestSuites: 0,
|
||||
numTotalTests: 0,
|
||||
openHandles: [],
|
||||
snapshot: {
|
||||
added: 0,
|
||||
didUpdate: false,
|
||||
// is set only after the full run
|
||||
failure: false,
|
||||
filesAdded: 0,
|
||||
// combines individual test results + removed files after the full run
|
||||
filesRemoved: 0,
|
||||
filesUnmatched: 0,
|
||||
filesUpdated: 0,
|
||||
matched: 0,
|
||||
total: 0,
|
||||
unchecked: 0,
|
||||
uncheckedKeysByFile: [],
|
||||
unmatched: 0,
|
||||
updated: 0
|
||||
},
|
||||
startTime: 0,
|
||||
success: true,
|
||||
testResults: [],
|
||||
wasInterrupted: false
|
||||
});
|
||||
|
||||
exports.makeEmptyAggregatedTestResult = makeEmptyAggregatedTestResult;
|
||||
|
||||
const buildFailureTestResult = (testPath, err) => ({
|
||||
console: undefined,
|
||||
displayName: '',
|
||||
failureMessage: null,
|
||||
leaks: false,
|
||||
numFailingTests: 0,
|
||||
numPassingTests: 0,
|
||||
numPendingTests: 0,
|
||||
numTodoTests: 0,
|
||||
openHandles: [],
|
||||
perfStats: {
|
||||
end: 0,
|
||||
start: 0
|
||||
},
|
||||
skipped: false,
|
||||
snapshot: {
|
||||
added: 0,
|
||||
fileDeleted: false,
|
||||
matched: 0,
|
||||
unchecked: 0,
|
||||
uncheckedKeys: [],
|
||||
unmatched: 0,
|
||||
updated: 0
|
||||
},
|
||||
sourceMaps: {},
|
||||
testExecError: err,
|
||||
testFilePath: testPath,
|
||||
testResults: []
|
||||
}); // Add individual test result to an aggregated test result
|
||||
|
||||
exports.buildFailureTestResult = buildFailureTestResult;
|
||||
|
||||
const addResult = (aggregatedResults, testResult) => {
|
||||
// `todos` are new as of Jest 24, and not all runners return it.
|
||||
// Set it to `0` to avoid `NaN`
|
||||
if (!testResult.numTodoTests) {
|
||||
testResult.numTodoTests = 0;
|
||||
}
|
||||
|
||||
aggregatedResults.testResults.push(testResult);
|
||||
aggregatedResults.numTotalTests +=
|
||||
testResult.numPassingTests +
|
||||
testResult.numFailingTests +
|
||||
testResult.numPendingTests +
|
||||
testResult.numTodoTests;
|
||||
aggregatedResults.numFailedTests += testResult.numFailingTests;
|
||||
aggregatedResults.numPassedTests += testResult.numPassingTests;
|
||||
aggregatedResults.numPendingTests += testResult.numPendingTests;
|
||||
aggregatedResults.numTodoTests += testResult.numTodoTests;
|
||||
|
||||
if (testResult.testExecError) {
|
||||
aggregatedResults.numRuntimeErrorTestSuites++;
|
||||
}
|
||||
|
||||
if (testResult.skipped) {
|
||||
aggregatedResults.numPendingTestSuites++;
|
||||
} else if (testResult.numFailingTests > 0 || testResult.testExecError) {
|
||||
aggregatedResults.numFailedTestSuites++;
|
||||
} else {
|
||||
aggregatedResults.numPassedTestSuites++;
|
||||
} // Snapshot data
|
||||
|
||||
if (testResult.snapshot.added) {
|
||||
aggregatedResults.snapshot.filesAdded++;
|
||||
}
|
||||
|
||||
if (testResult.snapshot.fileDeleted) {
|
||||
aggregatedResults.snapshot.filesRemoved++;
|
||||
}
|
||||
|
||||
if (testResult.snapshot.unmatched) {
|
||||
aggregatedResults.snapshot.filesUnmatched++;
|
||||
}
|
||||
|
||||
if (testResult.snapshot.updated) {
|
||||
aggregatedResults.snapshot.filesUpdated++;
|
||||
}
|
||||
|
||||
aggregatedResults.snapshot.added += testResult.snapshot.added;
|
||||
aggregatedResults.snapshot.matched += testResult.snapshot.matched;
|
||||
aggregatedResults.snapshot.unchecked += testResult.snapshot.unchecked;
|
||||
|
||||
if (
|
||||
testResult.snapshot.uncheckedKeys &&
|
||||
testResult.snapshot.uncheckedKeys.length > 0
|
||||
) {
|
||||
aggregatedResults.snapshot.uncheckedKeysByFile.push({
|
||||
filePath: testResult.testFilePath,
|
||||
keys: testResult.snapshot.uncheckedKeys
|
||||
});
|
||||
}
|
||||
|
||||
aggregatedResults.snapshot.unmatched += testResult.snapshot.unmatched;
|
||||
aggregatedResults.snapshot.updated += testResult.snapshot.updated;
|
||||
aggregatedResults.snapshot.total +=
|
||||
testResult.snapshot.added +
|
||||
testResult.snapshot.matched +
|
||||
testResult.snapshot.unmatched +
|
||||
testResult.snapshot.updated;
|
||||
};
|
||||
|
||||
exports.addResult = addResult;
|
10
node_modules/@jest/test-result/build/index.d.ts
generated
vendored
Normal file
10
node_modules/@jest/test-result/build/index.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,10 @@
|
|||
/**
|
||||
* 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 as formatTestResults } from './formatTestResults';
|
||||
export { addResult, buildFailureTestResult, makeEmptyAggregatedTestResult, } from './helpers';
|
||||
export { AggregatedResult, AssertionLocation, AssertionResult, FailedAssertion, Milliseconds, SerializableError, SnapshotSummary, Status, Suite, TestResult, } from './types';
|
||||
//# sourceMappingURL=index.d.ts.map
|
1
node_modules/@jest/test-result/build/index.d.ts.map
generated
vendored
Normal file
1
node_modules/@jest/test-result/build/index.d.ts.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,OAAO,EAAC,OAAO,IAAI,iBAAiB,EAAC,MAAM,qBAAqB,CAAC;AACjE,OAAO,EACL,SAAS,EACT,sBAAsB,EACtB,6BAA6B,GAC9B,MAAM,WAAW,CAAC;AACnB,OAAO,EACL,gBAAgB,EAChB,iBAAiB,EACjB,eAAe,EACf,eAAe,EACf,YAAY,EACZ,iBAAiB,EACjB,eAAe,EACf,MAAM,EACN,KAAK,EACL,UAAU,GACX,MAAM,SAAS,CAAC"}
|
99
node_modules/@jest/test-result/build/index.js
generated
vendored
Normal file
99
node_modules/@jest/test-result/build/index.js
generated
vendored
Normal file
|
@ -0,0 +1,99 @@
|
|||
'use strict';
|
||||
|
||||
Object.defineProperty(exports, '__esModule', {
|
||||
value: true
|
||||
});
|
||||
Object.defineProperty(exports, 'formatTestResults', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _formatTestResults.default;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'addResult', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _helpers.addResult;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'buildFailureTestResult', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _helpers.buildFailureTestResult;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'makeEmptyAggregatedTestResult', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _helpers.makeEmptyAggregatedTestResult;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'AggregatedResult', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _types.AggregatedResult;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'AssertionLocation', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _types.AssertionLocation;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'AssertionResult', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _types.AssertionResult;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'FailedAssertion', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _types.FailedAssertion;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'Milliseconds', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _types.Milliseconds;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'SerializableError', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _types.SerializableError;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'SnapshotSummary', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _types.SnapshotSummary;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'Status', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _types.Status;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'Suite', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _types.Suite;
|
||||
}
|
||||
});
|
||||
Object.defineProperty(exports, 'TestResult', {
|
||||
enumerable: true,
|
||||
get: function get() {
|
||||
return _types.TestResult;
|
||||
}
|
||||
});
|
||||
|
||||
var _formatTestResults = _interopRequireDefault(require('./formatTestResults'));
|
||||
|
||||
var _helpers = require('./helpers');
|
||||
|
||||
var _types = require('./types');
|
||||
|
||||
function _interopRequireDefault(obj) {
|
||||
return obj && obj.__esModule ? obj : {default: obj};
|
||||
}
|
165
node_modules/@jest/test-result/build/types.d.ts
generated
vendored
Normal file
165
node_modules/@jest/test-result/build/types.d.ts
generated
vendored
Normal file
|
@ -0,0 +1,165 @@
|
|||
/**
|
||||
* 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 { CoverageMap, CoverageMapData } from 'istanbul-lib-coverage';
|
||||
import { ConsoleBuffer } from '@jest/console';
|
||||
import { Config } from '@jest/types';
|
||||
export declare type SerializableError = {
|
||||
code?: unknown;
|
||||
message: string;
|
||||
stack: string | null | undefined;
|
||||
type?: string;
|
||||
};
|
||||
export declare type FailedAssertion = {
|
||||
matcherName?: string;
|
||||
message?: string;
|
||||
actual?: any;
|
||||
pass?: boolean;
|
||||
passed?: boolean;
|
||||
expected?: any;
|
||||
isNot?: boolean;
|
||||
stack?: string;
|
||||
error?: any;
|
||||
};
|
||||
export declare type AssertionLocation = {
|
||||
fullName: string;
|
||||
path: string;
|
||||
};
|
||||
export declare type Status = 'passed' | 'failed' | 'skipped' | 'pending' | 'todo' | 'disabled';
|
||||
export declare type Bytes = number;
|
||||
export declare type Milliseconds = number;
|
||||
declare type Callsite = {
|
||||
column: number;
|
||||
line: number;
|
||||
};
|
||||
export declare type AssertionResult = {
|
||||
ancestorTitles: Array<string>;
|
||||
duration?: Milliseconds | null | undefined;
|
||||
failureMessages: Array<string>;
|
||||
fullName: string;
|
||||
invocations?: number;
|
||||
location: Callsite | null | undefined;
|
||||
numPassingAsserts: number;
|
||||
status: Status;
|
||||
title: string;
|
||||
};
|
||||
export declare type FormattedAssertionResult = {
|
||||
ancestorTitles: Array<string>;
|
||||
failureMessages: Array<string> | null;
|
||||
fullName: string;
|
||||
location: Callsite | null | undefined;
|
||||
status: Status;
|
||||
title: string;
|
||||
};
|
||||
export declare type AggregatedResultWithoutCoverage = {
|
||||
numFailedTests: number;
|
||||
numFailedTestSuites: number;
|
||||
numPassedTests: number;
|
||||
numPassedTestSuites: number;
|
||||
numPendingTests: number;
|
||||
numTodoTests: number;
|
||||
numPendingTestSuites: number;
|
||||
numRuntimeErrorTestSuites: number;
|
||||
numTotalTests: number;
|
||||
numTotalTestSuites: number;
|
||||
openHandles: Array<Error>;
|
||||
snapshot: SnapshotSummary;
|
||||
startTime: number;
|
||||
success: boolean;
|
||||
testResults: Array<TestResult>;
|
||||
wasInterrupted: boolean;
|
||||
};
|
||||
export declare type AggregatedResult = AggregatedResultWithoutCoverage & {
|
||||
coverageMap?: CoverageMap | null;
|
||||
};
|
||||
export declare type Suite = {
|
||||
title: string;
|
||||
suites: Array<Suite>;
|
||||
tests: Array<AssertionResult>;
|
||||
};
|
||||
export declare type TestResult = {
|
||||
console?: ConsoleBuffer;
|
||||
coverage?: CoverageMapData;
|
||||
displayName?: Config.DisplayName;
|
||||
failureMessage?: string | null;
|
||||
leaks: boolean;
|
||||
memoryUsage?: Bytes;
|
||||
numFailingTests: number;
|
||||
numPassingTests: number;
|
||||
numPendingTests: number;
|
||||
numTodoTests: number;
|
||||
openHandles: Array<Error>;
|
||||
perfStats: {
|
||||
end: Milliseconds;
|
||||
start: Milliseconds;
|
||||
};
|
||||
skipped: boolean;
|
||||
snapshot: {
|
||||
added: number;
|
||||
fileDeleted: boolean;
|
||||
matched: number;
|
||||
unchecked: number;
|
||||
uncheckedKeys: Array<string>;
|
||||
unmatched: number;
|
||||
updated: number;
|
||||
};
|
||||
sourceMaps?: {
|
||||
[sourcePath: string]: string;
|
||||
};
|
||||
testExecError?: SerializableError;
|
||||
testFilePath: string;
|
||||
testResults: Array<AssertionResult>;
|
||||
};
|
||||
export declare type FormattedTestResult = {
|
||||
message: string;
|
||||
name: string;
|
||||
summary: string;
|
||||
status: 'failed' | 'passed';
|
||||
startTime: number;
|
||||
endTime: number;
|
||||
coverage: any;
|
||||
assertionResults: Array<FormattedAssertionResult>;
|
||||
};
|
||||
export declare type FormattedTestResults = {
|
||||
coverageMap?: CoverageMap | null | undefined;
|
||||
numFailedTests: number;
|
||||
numFailedTestSuites: number;
|
||||
numPassedTests: number;
|
||||
numPassedTestSuites: number;
|
||||
numPendingTests: number;
|
||||
numPendingTestSuites: number;
|
||||
numRuntimeErrorTestSuites: number;
|
||||
numTotalTests: number;
|
||||
numTotalTestSuites: number;
|
||||
snapshot: SnapshotSummary;
|
||||
startTime: number;
|
||||
success: boolean;
|
||||
testResults: Array<FormattedTestResult>;
|
||||
wasInterrupted: boolean;
|
||||
};
|
||||
export declare type CodeCoverageReporter = any;
|
||||
export declare type CodeCoverageFormatter = (coverage: CoverageMapData | null | undefined, reporter: CodeCoverageReporter) => Record<string, any> | null | undefined;
|
||||
export declare type UncheckedSnapshot = {
|
||||
filePath: string;
|
||||
keys: Array<string>;
|
||||
};
|
||||
export declare type SnapshotSummary = {
|
||||
added: number;
|
||||
didUpdate: boolean;
|
||||
failure: boolean;
|
||||
filesAdded: number;
|
||||
filesRemoved: number;
|
||||
filesUnmatched: number;
|
||||
filesUpdated: number;
|
||||
matched: number;
|
||||
total: number;
|
||||
unchecked: number;
|
||||
uncheckedKeysByFile: Array<UncheckedSnapshot>;
|
||||
unmatched: number;
|
||||
updated: number;
|
||||
};
|
||||
export {};
|
||||
//# sourceMappingURL=types.d.ts.map
|
1
node_modules/@jest/test-result/build/types.d.ts.map
generated
vendored
Normal file
1
node_modules/@jest/test-result/build/types.d.ts.map
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
{"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../src/types.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAGH,OAAO,EAAC,WAAW,EAAE,eAAe,EAAC,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAC,aAAa,EAAC,MAAM,eAAe,CAAC;AAC5C,OAAO,EAAC,MAAM,EAAC,MAAM,aAAa,CAAC;AAEnC,oBAAY,iBAAiB,GAAG;IAC9B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,IAAI,CAAC,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,GAAG,CAAC;IACb,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,QAAQ,CAAC,EAAE,GAAG,CAAC;IACf,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,KAAK,CAAC,EAAE,GAAG,CAAC;CACb,CAAC;A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AClB,OAAO,EAAE,OAAO,CAAC;IACjB,WAAW,EAAE,KAAK,CAAC,mBAAmB,CAAC,CAAC;IACxC,cAAc,EAAE,OAAO,CAAC;CACzB,CAAC;AAEF,oBAAY,oBAAoB,GAAG,GAAG,CAAC;AAEvC,oBAAY,qBAAqB,GAAG,CAClC,QAAQ,EAAE,eAAe,GAAG,IAAI,GAAG,SAAS,EAC5C,QAAQ,EAAE,oBAAoB,KAC3B,MAAM,CAAC,MAAM,EAAE,GAAG,CAAC,GAAG,IAAI,GAAG,SAAS,CAAC;AAE5C,oBAAY,iBAAiB,GAAG;IAC9B,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,KAAK,CAAC,MAAM,CAAC,CAAC;CACrB,CAAC;AAEF,oBAAY,eAAe,GAAG;IAC5B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,CAAC;IACnB,YAAY,EAAE,MAAM,CAAC;IACrB,cAAc,EAAE,MAAM,CAAC;IACvB,YAAY,EAAE,MAAM,CAAC;IACrB,OAAO,EAAE,MAAM,CAAC;IAChB,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,mBAAmB,EAAE,KAAK,CAAC,iBAAiB,CAAC,CAAC;IAC9C,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;CACjB,CAAC"}
|
1
node_modules/@jest/test-result/build/types.js
generated
vendored
Normal file
1
node_modules/@jest/test-result/build/types.js
generated
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
'use strict';
|
63
node_modules/@jest/test-result/package.json
generated
vendored
Normal file
63
node_modules/@jest/test-result/package.json
generated
vendored
Normal file
|
@ -0,0 +1,63 @@
|
|||
{
|
||||
"_from": "@jest/test-result@^24.8.0",
|
||||
"_id": "@jest/test-result@24.8.0",
|
||||
"_inBundle": false,
|
||||
"_integrity": "sha512-+YdLlxwizlfqkFDh7Mc7ONPQAhA4YylU1s529vVM1rsf67vGZH/2GGm5uO8QzPeVyaVMobCQ7FTxl38QrKRlng==",
|
||||
"_location": "/@jest/test-result",
|
||||
"_phantomChildren": {},
|
||||
"_requested": {
|
||||
"type": "range",
|
||||
"registry": true,
|
||||
"raw": "@jest/test-result@^24.8.0",
|
||||
"name": "@jest/test-result",
|
||||
"escapedName": "@jest%2ftest-result",
|
||||
"scope": "@jest",
|
||||
"rawSpec": "^24.8.0",
|
||||
"saveSpec": null,
|
||||
"fetchSpec": "^24.8.0"
|
||||
},
|
||||
"_requiredBy": [
|
||||
"/@jest/core",
|
||||
"/@jest/reporters",
|
||||
"/@jest/test-sequencer",
|
||||
"/jest-circus",
|
||||
"/jest-jasmine2",
|
||||
"/jest-message-util",
|
||||
"/jest-runner",
|
||||
"/jest-util",
|
||||
"/jest-watcher",
|
||||
"/jest/jest-cli"
|
||||
],
|
||||
"_resolved": "https://registry.npmjs.org/@jest/test-result/-/test-result-24.8.0.tgz",
|
||||
"_shasum": "7675d0aaf9d2484caa65e048d9b467d160f8e9d3",
|
||||
"_spec": "@jest/test-result@^24.8.0",
|
||||
"_where": "E:\\github\\setup-java\\node_modules\\jest\\node_modules\\jest-cli",
|
||||
"bugs": {
|
||||
"url": "https://github.com/facebook/jest/issues"
|
||||
},
|
||||
"bundleDependencies": false,
|
||||
"dependencies": {
|
||||
"@jest/console": "^24.7.1",
|
||||
"@jest/types": "^24.8.0",
|
||||
"@types/istanbul-lib-coverage": "^2.0.0"
|
||||
},
|
||||
"deprecated": false,
|
||||
"engines": {
|
||||
"node": ">= 6"
|
||||
},
|
||||
"gitHead": "845728f24b3ef41e450595c384e9b5c9fdf248a4",
|
||||
"homepage": "https://github.com/facebook/jest#readme",
|
||||
"license": "MIT",
|
||||
"main": "build/index.js",
|
||||
"name": "@jest/test-result",
|
||||
"publishConfig": {
|
||||
"access": "public"
|
||||
},
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/facebook/jest.git",
|
||||
"directory": "packages/jest-test-result"
|
||||
},
|
||||
"types": "build/index.d.ts",
|
||||
"version": "24.8.0"
|
||||
}
|
11
node_modules/@jest/test-result/tsconfig.json
generated
vendored
Normal file
11
node_modules/@jest/test-result/tsconfig.json
generated
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
{
|
||||
"extends": "../../tsconfig.json",
|
||||
"compilerOptions": {
|
||||
"rootDir": "src",
|
||||
"outDir": "build"
|
||||
},
|
||||
"references": [
|
||||
{"path": "../jest-console"},
|
||||
{"path": "../jest-types"}
|
||||
]
|
||||
}
|
2501
node_modules/@jest/test-result/tsconfig.tsbuildinfo
generated
vendored
Normal file
2501
node_modules/@jest/test-result/tsconfig.tsbuildinfo
generated
vendored
Normal file
File diff suppressed because it is too large
Load diff
Loading…
Add table
Add a link
Reference in a new issue