Socket
Socket
Sign inDemoInstall

@jest/test-result

Package Overview
Dependencies
39
Maintainers
6
Versions
109
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 29.3.1 to 29.4.0

.eslintcache

20

build/formatTestResults.js

@@ -28,2 +28,16 @@ 'use strict';

}
if (testResult.skipped) {
const now = Date.now();
return {
assertionResults: testResult.testResults,
coverage: {},
endTime: now,
message: testResult.failureMessage ?? '',
name: testResult.testFilePath,
startTime: now,
status: 'skipped',
summary: ''
};
}
const allTestsExecuted = testResult.numPendingTests === 0;
const allTestsPassed = testResult.numFailingTests === 0;

@@ -40,3 +54,7 @@ return {

startTime: testResult.perfStats.start,
status: allTestsPassed ? 'passed' : 'failed',
status: allTestsPassed
? allTestsExecuted
? 'passed'
: 'focused'
: 'failed',
summary: ''

@@ -43,0 +61,0 @@ };

2

build/index.d.ts

@@ -91,3 +91,3 @@ /**

summary: string;
status: 'failed' | 'passed';
status: 'failed' | 'passed' | 'skipped' | 'focused';
startTime: number;

@@ -94,0 +94,0 @@ endTime: number;

{
"name": "@jest/test-result",
"version": "29.3.1",
"version": "29.4.0",
"repository": {

@@ -20,7 +20,11 @@ "type": "git",

"dependencies": {
"@jest/console": "^29.3.1",
"@jest/types": "^29.3.1",
"@jest/console": "^29.4.0",
"@jest/types": "^29.4.0",
"@types/istanbul-lib-coverage": "^2.0.0",
"collect-v8-coverage": "^1.0.0"
},
"devDependencies": {
"jest-haste-map": "^29.4.0",
"jest-resolve": "^29.4.0"
},
"engines": {

@@ -32,3 +36,3 @@ "node": "^14.15.0 || ^16.10.0 || >=18.0.0"

},
"gitHead": "05deb8393c4ad71e19be2567b704dfd3a2ab5fc9"
"gitHead": "4bc0e8acaf990e6618a7bed1dca67760c20bb12a"
}
SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc