@jest/test-result
Advanced tools
Comparing version 26.3.0 to 26.5.0
@@ -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" | ||
} |
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
16141
450
Updated@jest/console@^26.5.0
Updated@jest/types@^26.5.0