Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@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 26.3.0 to 26.5.0

2

build/index.d.ts

@@ -9,2 +9,2 @@ /**

export { addResult, buildFailureTestResult, createEmptyTestResult, makeEmptyAggregatedTestResult, } from './helpers';
export type { AggregatedResult, AssertionLocation, AssertionResult, FailedAssertion, FormattedTestResults, Milliseconds, SerializableError, SnapshotSummary, Status, Suite, TestResult, TestCaseResult, V8CoverageResult, } from './types';
export type { AggregatedResult, AssertionLocation, AssertionResult, FailedAssertion, FormattedTestResults, Milliseconds, RuntimeTransformResult, SerializableError, SnapshotSummary, Status, Suite, TestResult, TestCaseResult, V8CoverageResult, } from './types';

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

import type { V8Coverage } from 'collect-v8-coverage';
export interface RuntimeTransformResult extends TransformTypes.TransformResult {
wrapperLength?: number;
}
export declare type V8CoverageResult = Array<{
codeTransformResult: TransformTypes.TransformResult | undefined;
codeTransformResult: RuntimeTransformResult | undefined;
result: V8Coverage[number];

@@ -20,9 +23,9 @@ }>;

message?: string;
actual?: any;
actual?: unknown;
pass?: boolean;
passed?: boolean;
expected?: any;
expected?: unknown;
isNot?: boolean;
stack?: string;
error?: any;
error?: unknown;
};

@@ -110,3 +113,3 @@ export declare type AssertionLocation = {

endTime: number;
coverage: any;
coverage: unknown;
assertionResults: Array<FormattedAssertionResult>;

@@ -131,4 +134,4 @@ };

};
export declare type CodeCoverageReporter = any;
export declare type CodeCoverageFormatter = (coverage: CoverageMapData | null | undefined, reporter: CodeCoverageReporter) => Record<string, any> | null | undefined;
export declare type CodeCoverageReporter = unknown;
export declare type CodeCoverageFormatter = (coverage: CoverageMapData | null | undefined, reporter: CodeCoverageReporter) => Record<string, unknown> | null | undefined;
export declare type UncheckedSnapshot = {

@@ -135,0 +138,0 @@ filePath: string;

{
"name": "@jest/test-result",
"version": "26.3.0",
"version": "26.5.0",
"repository": {

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

"dependencies": {
"@jest/console": "^26.3.0",
"@jest/types": "^26.3.0",
"@jest/console": "^26.5.0",
"@jest/types": "^26.5.0",
"@types/istanbul-lib-coverage": "^2.0.0",

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

},
"gitHead": "3a7e06fe855515a848241bb06a6f6e117847443d"
"gitHead": "68d1b1b638bc7464c2794a957c1b894de7da2ee3"
}
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