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

@jest/test-result

Package Overview
Dependencies
Maintainers
6
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 27.0.1 to 27.0.2

2

build/index.d.ts

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

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

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

import type { Config, TestResult, TransformTypes } from '@jest/types';
import type { FS as HasteFS, ModuleMap } from 'jest-haste-map';
import type Resolver from 'jest-resolve';
export interface RuntimeTransformResult extends TransformTypes.TransformResult {

@@ -151,1 +153,20 @@ wrapperLength: number;

};
export declare type Test = {
context: Context;
duration?: number;
path: Config.Path;
};
declare type Context = {
config: Config.ProjectConfig;
hasteFS: HasteFS;
moduleMap: ModuleMap;
resolver: Resolver;
};
export declare type TestEvents = {
'test-file-start': [Test];
'test-file-success': [Test, TestResult];
'test-file-failure': [Test, SerializableError];
'test-case-result': [Config.Path, AssertionResult];
};
export declare type TestFileEvent<T extends keyof TestEvents = keyof TestEvents> = (eventName: T, args: TestEvents[T]) => unknown;
export {};
{
"name": "@jest/test-result",
"version": "27.0.1",
"version": "27.0.2",
"repository": {

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

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

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

},
"gitHead": "2cb20e945a26b2c9867b30b787e81f6317e59aa1"
"gitHead": "7ca8a22b8453e95c63842ee6aa4d8d8d8b4f9612"
}
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