Socket
Socket
Sign inDemoInstall

jest-runner

Package Overview
Dependencies
202
Maintainers
6
Versions
235
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 30.0.0-alpha.1 to 30.0.0-alpha.2

11

build/index.d.ts

@@ -7,7 +7,10 @@ /**

*/
import {
SerializableError,
Test,
TestEvents,
TestResult,
} from '@jest/test-result';
import {Config} from '@jest/types';
import type {SerializableError} from '@jest/test-result';
import {Test} from '@jest/test-result';
import {TestEvents} from '@jest/test-result';
import type {TestResult} from '@jest/test-result';
import {TestWatcher} from 'jest-watcher';

@@ -14,0 +17,0 @@

@@ -130,2 +130,3 @@ /*!

const customEnvironment = docblockPragmas['jest-environment'];
const loadTestEnvironmentStart = Date.now();
let testEnvironment = projectConfig.testEnvironment;

@@ -179,2 +180,3 @@ if (customEnvironment) {

});
const loadTestEnvironmentEnd = Date.now();
if (typeof environment.getVmContext !== 'function') {

@@ -202,2 +204,3 @@ console.error(`Test environment found at "${testEnvironment}" does not export a "getVmContext" method, which is mandatory from Jest 27. This method is a replacement for "runScript".`);

const start = Date.now();
const setupFilesStart = Date.now();
for (const path of projectConfig.setupFiles) {

@@ -214,2 +217,3 @@ const esm = runtime.unstable_shouldLoadAsEsm(path);

}
const setupFilesEnd = Date.now();
const sourcemapOptions = {

@@ -277,4 +281,9 @@ environment: 'node',

result.perfStats = {
...result.perfStats,
end,
loadTestEnvironmentEnd,
loadTestEnvironmentStart,
runtime: testRuntime,
setupFilesEnd,
setupFilesStart,
slow: testRuntime / 1000 > projectConfig.slowTestThreshold,

@@ -281,0 +290,0 @@ start

@@ -130,2 +130,3 @@ /*!

const customEnvironment = docblockPragmas['jest-environment'];
const loadTestEnvironmentStart = Date.now();
let testEnvironment = projectConfig.testEnvironment;

@@ -179,2 +180,3 @@ if (customEnvironment) {

});
const loadTestEnvironmentEnd = Date.now();
if (typeof environment.getVmContext !== 'function') {

@@ -202,2 +204,3 @@ console.error(`Test environment found at "${testEnvironment}" does not export a "getVmContext" method, which is mandatory from Jest 27. This method is a replacement for "runScript".`);

const start = Date.now();
const setupFilesStart = Date.now();
for (const path of projectConfig.setupFiles) {

@@ -214,2 +217,3 @@ const esm = runtime.unstable_shouldLoadAsEsm(path);

}
const setupFilesEnd = Date.now();
const sourcemapOptions = {

@@ -277,4 +281,9 @@ environment: 'node',

result.perfStats = {
...result.perfStats,
end,
loadTestEnvironmentEnd,
loadTestEnvironmentStart,
runtime: testRuntime,
setupFilesEnd,
setupFilesStart,
slow: testRuntime / 1000 > projectConfig.slowTestThreshold,

@@ -281,0 +290,0 @@ start

{
"name": "jest-runner",
"version": "30.0.0-alpha.1",
"version": "30.0.0-alpha.2",
"repository": {

@@ -22,7 +22,7 @@ "type": "git",

"dependencies": {
"@jest/console": "30.0.0-alpha.1",
"@jest/environment": "30.0.0-alpha.1",
"@jest/test-result": "30.0.0-alpha.1",
"@jest/transform": "30.0.0-alpha.1",
"@jest/types": "30.0.0-alpha.1",
"@jest/console": "30.0.0-alpha.2",
"@jest/environment": "30.0.0-alpha.2",
"@jest/test-result": "30.0.0-alpha.2",
"@jest/transform": "30.0.0-alpha.2",
"@jest/types": "30.0.0-alpha.2",
"@types/node": "*",

@@ -32,12 +32,12 @@ "chalk": "^4.0.0",

"graceful-fs": "^4.2.9",
"jest-docblock": "30.0.0-alpha.1",
"jest-environment-node": "30.0.0-alpha.1",
"jest-haste-map": "30.0.0-alpha.1",
"jest-leak-detector": "30.0.0-alpha.1",
"jest-message-util": "30.0.0-alpha.1",
"jest-resolve": "30.0.0-alpha.1",
"jest-runtime": "30.0.0-alpha.1",
"jest-util": "30.0.0-alpha.1",
"jest-watcher": "30.0.0-alpha.1",
"jest-worker": "30.0.0-alpha.1",
"jest-docblock": "30.0.0-alpha.2",
"jest-environment-node": "30.0.0-alpha.2",
"jest-haste-map": "30.0.0-alpha.2",
"jest-leak-detector": "30.0.0-alpha.2",
"jest-message-util": "30.0.0-alpha.2",
"jest-resolve": "30.0.0-alpha.2",
"jest-runtime": "30.0.0-alpha.2",
"jest-util": "30.0.0-alpha.2",
"jest-watcher": "30.0.0-alpha.2",
"jest-worker": "30.0.0-alpha.2",
"p-limit": "^3.1.0",

@@ -47,3 +47,3 @@ "source-map-support": "0.5.13"

"devDependencies": {
"@jest/test-utils": "30.0.0-alpha.1",
"@jest/test-utils": "30.0.0-alpha.2",
"@tsd/typescript": "^5.0.4",

@@ -53,3 +53,3 @@ "@types/exit": "^0.1.30",

"@types/source-map-support": "^0.5.0",
"jest-jasmine2": "30.0.0-alpha.1",
"jest-jasmine2": "30.0.0-alpha.2",
"tsd-lite": "^0.8.0"

@@ -63,3 +63,3 @@ },

},
"gitHead": "d005cb2505c041583e0c5636d006e08666a54b63"
"gitHead": "c04d13d7abd22e47b0997f6027886aed225c9ce4"
}
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