@jest/test-result
Advanced tools
Comparing version 25.3.0 to 25.4.0
@@ -9,2 +9,1 @@ /** | ||
export default function formatTestResults(results: AggregatedResult, codeCoverageFormatter?: CodeCoverageFormatter, reporter?: CodeCoverageReporter): FormattedTestResults; | ||
//# sourceMappingURL=formatTestResults.d.ts.map |
@@ -8,51 +8,2 @@ 'use strict'; | ||
function ownKeys(object, enumerableOnly) { | ||
var keys = Object.keys(object); | ||
if (Object.getOwnPropertySymbols) { | ||
var symbols = Object.getOwnPropertySymbols(object); | ||
if (enumerableOnly) | ||
symbols = symbols.filter(function (sym) { | ||
return Object.getOwnPropertyDescriptor(object, sym).enumerable; | ||
}); | ||
keys.push.apply(keys, symbols); | ||
} | ||
return keys; | ||
} | ||
function _objectSpread(target) { | ||
for (var i = 1; i < arguments.length; i++) { | ||
var source = arguments[i] != null ? arguments[i] : {}; | ||
if (i % 2) { | ||
ownKeys(Object(source), true).forEach(function (key) { | ||
_defineProperty(target, key, source[key]); | ||
}); | ||
} else if (Object.getOwnPropertyDescriptors) { | ||
Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)); | ||
} else { | ||
ownKeys(Object(source)).forEach(function (key) { | ||
Object.defineProperty( | ||
target, | ||
key, | ||
Object.getOwnPropertyDescriptor(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; | ||
} | ||
/** | ||
@@ -119,5 +70,3 @@ * Copyright (c) Facebook, Inc. and its affiliates. All Rights Reserved. | ||
); | ||
return _objectSpread({}, results, { | ||
testResults | ||
}); | ||
return {...results, testResults}; | ||
} |
@@ -12,2 +12,1 @@ /** | ||
export declare const createEmptyTestResult: () => TestResult; | ||
//# sourceMappingURL=helpers.d.ts.map |
@@ -10,2 +10,1 @@ /** | ||
export type { AggregatedResult, AssertionLocation, AssertionResult, FailedAssertion, FormattedTestResults, Milliseconds, SerializableError, SnapshotSummary, Status, Suite, TestResult, V8CoverageResult, } from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -9,2 +9,1 @@ /** | ||
export default function formatTestResults(results: AggregatedResult, codeCoverageFormatter?: CodeCoverageFormatter, reporter?: CodeCoverageReporter): FormattedTestResults; | ||
//# sourceMappingURL=formatTestResults.d.ts.map |
@@ -12,2 +12,1 @@ /** | ||
export declare const createEmptyTestResult: () => TestResult; | ||
//# sourceMappingURL=helpers.d.ts.map |
@@ -10,2 +10,1 @@ /** | ||
export { AggregatedResult, AssertionLocation, AssertionResult, FailedAssertion, FormattedTestResults, Milliseconds, SerializableError, SnapshotSummary, Status, Suite, TestResult, V8CoverageResult, } from './types'; | ||
//# sourceMappingURL=index.d.ts.map |
@@ -147,2 +147,1 @@ /** | ||
}; | ||
//# sourceMappingURL=types.d.ts.map |
@@ -147,2 +147,1 @@ /** | ||
}; | ||
//# sourceMappingURL=types.d.ts.map |
{ | ||
"name": "@jest/test-result", | ||
"version": "25.3.0", | ||
"version": "25.4.0", | ||
"repository": { | ||
@@ -20,4 +20,4 @@ "type": "git", | ||
"dependencies": { | ||
"@jest/console": "^25.3.0", | ||
"@jest/types": "^25.3.0", | ||
"@jest/console": "^25.4.0", | ||
"@jest/types": "^25.4.0", | ||
"@types/istanbul-lib-coverage": "^2.0.0", | ||
@@ -32,3 +32,3 @@ "collect-v8-coverage": "^1.0.0" | ||
}, | ||
"gitHead": "45a4936d96d74cdee6b91122a51a556e3ebe6dc8" | ||
"gitHead": "5b129d714cadb818be28afbe313cbeae8fbb1dde" | ||
} |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
22350
14
613
Updated@jest/console@^25.4.0
Updated@jest/types@^25.4.0