Socket
Socket
Sign inDemoInstall

@jest/test-result

Package Overview
Dependencies
Maintainers
7
Versions
111
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest/test-result - npm Package Compare versions

Comparing version 25.1.0 to 25.2.0-alpha.86

2

build/formatTestResults.d.ts

@@ -7,4 +7,4 @@ /**

*/
import { AggregatedResult, CodeCoverageFormatter, CodeCoverageReporter, FormattedTestResults } from './types';
import type { AggregatedResult, CodeCoverageFormatter, CodeCoverageReporter, FormattedTestResults } from './types';
export default function formatTestResults(results: AggregatedResult, codeCoverageFormatter?: CodeCoverageFormatter, reporter?: CodeCoverageReporter): FormattedTestResults;
//# sourceMappingURL=formatTestResults.d.ts.map

@@ -13,3 +13,3 @@ 'use strict';

if (enumerableOnly)
symbols = symbols.filter(function(sym) {
symbols = symbols.filter(function (sym) {
return Object.getOwnPropertyDescriptor(object, sym).enumerable;

@@ -26,3 +26,3 @@ });

if (i % 2) {
ownKeys(Object(source), true).forEach(function(key) {
ownKeys(Object(source), true).forEach(function (key) {
_defineProperty(target, key, source[key]);

@@ -33,3 +33,3 @@ });

} else {
ownKeys(Object(source)).forEach(function(key) {
ownKeys(Object(source)).forEach(function (key) {
Object.defineProperty(

@@ -36,0 +36,0 @@ target,

@@ -7,3 +7,3 @@ /**

*/
import { AggregatedResult, SerializableError, TestResult } from './types';
import type { AggregatedResult, SerializableError, TestResult } from './types';
export declare const makeEmptyAggregatedTestResult: () => AggregatedResult;

@@ -10,0 +10,0 @@ export declare const buildFailureTestResult: (testPath: string, err: SerializableError) => TestResult;

@@ -9,3 +9,3 @@ /**

export { addResult, buildFailureTestResult, createEmptyTestResult, makeEmptyAggregatedTestResult, } from './helpers';
export { AggregatedResult, AssertionLocation, AssertionResult, FailedAssertion, FormattedTestResults, Milliseconds, SerializableError, SnapshotSummary, Status, Suite, TestResult, V8CoverageResult, } from './types';
export type { AggregatedResult, AssertionLocation, AssertionResult, FailedAssertion, FormattedTestResults, Milliseconds, SerializableError, SnapshotSummary, Status, Suite, TestResult, V8CoverageResult, } from './types';
//# sourceMappingURL=index.d.ts.map

@@ -8,3 +8,3 @@ 'use strict';

enumerable: true,
get: function() {
get: function () {
return _formatTestResults.default;

@@ -15,3 +15,3 @@ }

enumerable: true,
get: function() {
get: function () {
return _helpers.addResult;

@@ -22,3 +22,3 @@ }

enumerable: true,
get: function() {
get: function () {
return _helpers.buildFailureTestResult;

@@ -29,3 +29,3 @@ }

enumerable: true,
get: function() {
get: function () {
return _helpers.createEmptyTestResult;

@@ -36,78 +36,6 @@ }

enumerable: true,
get: function() {
get: function () {
return _helpers.makeEmptyAggregatedTestResult;
}
});
Object.defineProperty(exports, 'AggregatedResult', {
enumerable: true,
get: function() {
return _types.AggregatedResult;
}
});
Object.defineProperty(exports, 'AssertionLocation', {
enumerable: true,
get: function() {
return _types.AssertionLocation;
}
});
Object.defineProperty(exports, 'AssertionResult', {
enumerable: true,
get: function() {
return _types.AssertionResult;
}
});
Object.defineProperty(exports, 'FailedAssertion', {
enumerable: true,
get: function() {
return _types.FailedAssertion;
}
});
Object.defineProperty(exports, 'FormattedTestResults', {
enumerable: true,
get: function() {
return _types.FormattedTestResults;
}
});
Object.defineProperty(exports, 'Milliseconds', {
enumerable: true,
get: function() {
return _types.Milliseconds;
}
});
Object.defineProperty(exports, 'SerializableError', {
enumerable: true,
get: function() {
return _types.SerializableError;
}
});
Object.defineProperty(exports, 'SnapshotSummary', {
enumerable: true,
get: function() {
return _types.SnapshotSummary;
}
});
Object.defineProperty(exports, 'Status', {
enumerable: true,
get: function() {
return _types.Status;
}
});
Object.defineProperty(exports, 'Suite', {
enumerable: true,
get: function() {
return _types.Suite;
}
});
Object.defineProperty(exports, 'TestResult', {
enumerable: true,
get: function() {
return _types.TestResult;
}
});
Object.defineProperty(exports, 'V8CoverageResult', {
enumerable: true,
get: function() {
return _types.V8CoverageResult;
}
});

@@ -118,6 +46,4 @@ var _formatTestResults = _interopRequireDefault(require('./formatTestResults'));

var _types = require('./types');
function _interopRequireDefault(obj) {
return obj && obj.__esModule ? obj : {default: obj};
}

@@ -7,7 +7,7 @@ /**

*/
import { CoverageMap, CoverageMapData } from 'istanbul-lib-coverage';
import { ConsoleBuffer } from '@jest/console';
import { Config } from '@jest/types';
import { V8Coverage } from 'collect-v8-coverage';
import { TransformResult } from '@jest/transform';
import type { CoverageMap, CoverageMapData } from 'istanbul-lib-coverage';
import type { ConsoleBuffer } from '@jest/console';
import type { Config } from '@jest/types';
import type { V8Coverage } from 'collect-v8-coverage';
import type { TransformResult } from '@jest/transform';
export declare type V8CoverageResult = Array<{

@@ -14,0 +14,0 @@ codeTransformResult: TransformResult | undefined;

{
"name": "@jest/test-result",
"version": "25.1.0",
"version": "25.2.0-alpha.86+cd98198c9",
"repository": {

@@ -13,5 +13,5 @@ "type": "git",

"dependencies": {
"@jest/console": "^25.1.0",
"@jest/transform": "^25.1.0",
"@jest/types": "^25.1.0",
"@jest/console": "^25.2.0-alpha.86+cd98198c9",
"@jest/transform": "^25.2.0-alpha.86+cd98198c9",
"@jest/types": "^25.2.0-alpha.86+cd98198c9",
"@types/istanbul-lib-coverage": "^2.0.0",

@@ -26,3 +26,3 @@ "collect-v8-coverage": "^1.0.0"

},
"gitHead": "170eee11d03b0ed5c60077982fdbc3bafd403638"
"gitHead": "cd98198c9397d8b69c55155d7b224d62ef117a90"
}

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc