jest-runner
Advanced tools
Comparing version 30.0.0-alpha.1 to 30.0.0-alpha.2
@@ -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" | ||
} |
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
44191
1139
0
+ Added@jest/console@30.0.0-alpha.2(transitive)
+ Added@jest/environment@30.0.0-alpha.2(transitive)
+ Added@jest/expect@30.0.0-alpha.2(transitive)
+ Added@jest/expect-utils@30.0.0-alpha.2(transitive)
+ Added@jest/fake-timers@30.0.0-alpha.2(transitive)
+ Added@jest/globals@30.0.0-alpha.2(transitive)
+ Added@jest/schemas@30.0.0-alpha.2(transitive)
+ Added@jest/source-map@30.0.0-alpha.2(transitive)
+ Added@jest/test-result@30.0.0-alpha.2(transitive)
+ Added@jest/transform@30.0.0-alpha.2(transitive)
+ Added@jest/types@30.0.0-alpha.2(transitive)
+ Addeddiff-sequences@30.0.0-alpha.2(transitive)
+ Addedexpect@30.0.0-alpha.2(transitive)
+ Addedjest-diff@30.0.0-alpha.2(transitive)
+ Addedjest-docblock@30.0.0-alpha.2(transitive)
+ Addedjest-environment-node@30.0.0-alpha.2(transitive)
+ Addedjest-get-type@30.0.0-alpha.2(transitive)
+ Addedjest-haste-map@30.0.0-alpha.2(transitive)
+ Addedjest-leak-detector@30.0.0-alpha.2(transitive)
+ Addedjest-matcher-utils@30.0.0-alpha.2(transitive)
+ Addedjest-message-util@30.0.0-alpha.2(transitive)
+ Addedjest-mock@30.0.0-alpha.2(transitive)
+ Addedjest-regex-util@30.0.0-alpha.2(transitive)
+ Addedjest-resolve@30.0.0-alpha.2(transitive)
+ Addedjest-runtime@30.0.0-alpha.2(transitive)
+ Addedjest-snapshot@30.0.0-alpha.2(transitive)
+ Addedjest-util@30.0.0-alpha.2(transitive)
+ Addedjest-validate@30.0.0-alpha.2(transitive)
+ Addedjest-watcher@30.0.0-alpha.2(transitive)
+ Addedjest-worker@30.0.0-alpha.2(transitive)
+ Addedpicomatch@3.0.1(transitive)
+ Addedpretty-format@30.0.0-alpha.2(transitive)
+ Addedsignal-exit@4.1.0(transitive)
+ Addedwrite-file-atomic@5.0.1(transitive)
- Removed@jest/console@30.0.0-alpha.1(transitive)
- Removed@jest/environment@30.0.0-alpha.1(transitive)
- Removed@jest/expect@30.0.0-alpha.1(transitive)
- Removed@jest/expect-utils@30.0.0-alpha.1(transitive)
- Removed@jest/fake-timers@30.0.0-alpha.1(transitive)
- Removed@jest/globals@30.0.0-alpha.1(transitive)
- Removed@jest/schemas@30.0.0-alpha.1(transitive)
- Removed@jest/source-map@30.0.0-alpha.1(transitive)
- Removed@jest/test-result@30.0.0-alpha.1(transitive)
- Removed@jest/transform@30.0.0-alpha.1(transitive)
- Removed@jest/types@30.0.0-alpha.1(transitive)
- Removeddiff-sequences@30.0.0-alpha.1(transitive)
- Removedexpect@30.0.0-alpha.1(transitive)
- Removedjest-diff@30.0.0-alpha.1(transitive)
- Removedjest-docblock@30.0.0-alpha.1(transitive)
- Removedjest-environment-node@30.0.0-alpha.1(transitive)
- Removedjest-get-type@30.0.0-alpha.1(transitive)
- Removedjest-haste-map@30.0.0-alpha.1(transitive)
- Removedjest-leak-detector@30.0.0-alpha.1(transitive)
- Removedjest-matcher-utils@30.0.0-alpha.1(transitive)
- Removedjest-message-util@30.0.0-alpha.1(transitive)
- Removedjest-mock@30.0.0-alpha.1(transitive)
- Removedjest-regex-util@30.0.0-alpha.1(transitive)
- Removedjest-resolve@30.0.0-alpha.1(transitive)
- Removedjest-runtime@30.0.0-alpha.1(transitive)
- Removedjest-snapshot@30.0.0-alpha.1(transitive)
- Removedjest-util@30.0.0-alpha.1(transitive)
- Removedjest-validate@30.0.0-alpha.1(transitive)
- Removedjest-watcher@30.0.0-alpha.1(transitive)
- Removedjest-worker@30.0.0-alpha.1(transitive)
- Removedpretty-format@30.0.0-alpha.1(transitive)
- Removedsignal-exit@3.0.7(transitive)
- Removedwrite-file-atomic@4.0.2(transitive)
Updated@jest/console@30.0.0-alpha.2
Updated@jest/types@30.0.0-alpha.2
Updatedjest-docblock@30.0.0-alpha.2
Updatedjest-resolve@30.0.0-alpha.2
Updatedjest-runtime@30.0.0-alpha.2
Updatedjest-util@30.0.0-alpha.2
Updatedjest-watcher@30.0.0-alpha.2
Updatedjest-worker@30.0.0-alpha.2