Socket
Socket
Sign inDemoInstall

@jest/reporters

Package Overview
Dependencies
Maintainers
7
Versions
133
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@jest/reporters - npm Package Compare versions

Comparing version 26.0.0-alpha.0 to 26.0.0-alpha.1

12

build/get_result_header.js

@@ -18,2 +18,12 @@ 'use strict';

function _jestUtil() {
const data = require('jest-util');
_jestUtil = function () {
return data;
};
return data;
}
var _utils = require('./utils');

@@ -74,3 +84,3 @@

if (runTime !== null && runTime > 5) {
testDetail.push(LONG_TEST_COLOR(runTime + 's'));
testDetail.push(LONG_TEST_COLOR((0, _jestUtil().formatTime)(runTime, 0)));
}

@@ -77,0 +87,0 @@

6

build/utils.js

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

estimatedTime && runTime >= estimatedTime + 1
? _chalk().default.bold.yellow(runTime + 's')
: runTime + 's';
? _chalk().default.bold.yellow((0, _jestUtil().formatTime)(runTime, 0))
: (0, _jestUtil().formatTime)(runTime, 0);
let time = _chalk().default.bold(`Time:`) + ` ${renderedTime}`;
if (runTime < estimatedTime) {
time += `, estimated ${estimatedTime}s`;
time += `, estimated ${(0, _jestUtil().formatTime)(estimatedTime, 0)}`;
} // Only show a progress bar if the test run is actually going to take

@@ -298,0 +298,0 @@ // some time.

@@ -148,3 +148,5 @@ 'use strict';

const time = test.duration ? ` (${test.duration.toFixed(0)}ms)` : '';
const time = test.duration
? ` (${(0, _jestUtil().formatTime)(Math.round(test.duration))})`
: '';

@@ -151,0 +153,0 @@ this._logLine(

{
"name": "@jest/reporters",
"description": "Jest's reporters",
"version": "26.0.0-alpha.0",
"version": "26.0.0-alpha.1",
"main": "build/index.js",

@@ -9,6 +9,6 @@ "types": "build/index.d.ts",

"@bcoe/v8-coverage": "^0.2.3",
"@jest/console": "^26.0.0-alpha.0",
"@jest/test-result": "^26.0.0-alpha.0",
"@jest/transform": "^26.0.0-alpha.0",
"@jest/types": "^26.0.0-alpha.0",
"@jest/console": "^26.0.0-alpha.1",
"@jest/test-result": "^26.0.0-alpha.1",
"@jest/transform": "^26.0.0-alpha.1",
"@jest/types": "^26.0.0-alpha.1",
"chalk": "^4.0.0",

@@ -24,9 +24,9 @@ "collect-v8-coverage": "^1.0.0",

"istanbul-reports": "^3.0.2",
"jest-haste-map": "^26.0.0-alpha.0",
"jest-resolve": "^26.0.0-alpha.0",
"jest-util": "^26.0.0-alpha.0",
"jest-haste-map": "^26.0.0-alpha.1",
"jest-resolve": "^26.0.0-alpha.1",
"jest-util": "^26.0.0-alpha.1",
"jest-worker": "^26.0.0-alpha.0",
"slash": "^3.0.0",
"source-map": "^0.6.0",
"string-length": "^3.1.0",
"string-length": "^4.0.1",
"terminal-link": "^2.0.0",

@@ -49,3 +49,3 @@ "v8-to-istanbul": "^4.1.3"

"optionalDependencies": {
"node-notifier": "^6.0.0"
"node-notifier": "^7.0.0"
},

@@ -68,3 +68,3 @@ "engines": {

},
"gitHead": "ba962e7e9669a4a2f723c2536c97462c8ddfff2d"
"gitHead": "2bac04ffb8e533d12a072998da5c3751a41b796f"
}
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