All Versions
128
Latest Version
Avg Release Cycle
9 days
Latest Release
-
Changelog History
Page 1
Changelog History
Page 1
-
v29.3.0 Changes
๐ Features
- ๐
[jest-runtime]
Support WebAssembly (Wasm) imports in ESM modules (#13505)
๐ Fixes
[jest-config]
Add config validation forprojects
option (#13565)- ๐คก
[jest-mock]
Treat cjs modules as objects so they can be mocked (#13513) - ๐ท
[jest-worker]
Throw an error instead of hanging when jest workers terminate unexpectedly (#13566)
๐ง Chore & Maintenance
- ๐
-
v29.2.2 Changes
๐ Fixes
- โ
[@jest/test-sequencer]
Make sure sharding does not produce empty groups (#13476) - โ
[jest-circus]
Test marked astodo
are shown as todo when inside a focussed describe (#13504) - ๐คก
[jest-mock]
Ensure mock resolved and rejected values are promises from correct realm (#13503) [jest-snapshot]
Don't highlight passing asymmetric property matchers in snapshot diff (#13480)
๐ง Chore & Maintenance
- โ
-
v29.2.1 Changes
๐ Features
- ๐คก
[@jest/globals, jest-mock]
Addjest.Spied*
utility types (#13440)
๐ Fixes
- ๐
[jest-environment-node]
makeglobalThis.performance
writable for Node 19 and fake timers (#13467) - โช
[jest-mock]
Revert #13398 to restore mocking of setters (#13472)
๐ Performance
[*]
Use sha1 instead of sha256 for hashing (#13421)
- ๐คก
-
v29.2.0 Changes
๐ Features
- ๐
[@jest/cli, jest-config]
A seed for the test run will be randomly generated, or set by a CLI option (#13400) - ๐
[@jest/cli, jest-config]
--show-seed
will display the seed value in the report, and can be set via a CLI flag or through the config file (#13400) [jest-config]
AddreadInitialConfig
utility function (#13356)- โ
[jest-core]
AllowtestResultsProcessor
to be async (#13343) - ๐
[@jest/environment, jest-environment-node, jest-environment-jsdom, jest-runtime]
AddgetSeed()
to thejest
object (#13400) [expect, @jest/expect-utils]
AllowisA
utility to take a type argument (#13355)- ๐
[expect]
ExposeAsyncExpectationResult
andSyncExpectationResult
types (#13411)
๐ Fixes
- ๐
[babel-plugin-jest-hoist]
IgnoreTSTypeQuery
when checking for hoisted references (#13367) [jest-core]
FixdetectOpenHandles
false positives for some special objects such asTLSWRAP
(#13414)- ๐คก
[jest-mock]
Fix mocking of getters and setters on classes (#13398) - โช
[jest-reporters]
Revert: Transform file paths into hyperlinks (#13399) [@jest/types]
Infer type ofeach
table correctly when the table is a tuple or array (#13381)[@jest/types]
Rework typings to allow the*ReturnedWith
matchers to be called with no argument (#13385)
๐ง Chore & Maintenance
- โก๏ธ
[*]
Update@babel/*
deps, resulting in slightly different stack traces foreach
(#13422)
๐ Performance
[jest-runner]
Do not instrument v8 coverage data if coverage should not be collected (#13282)
- ๐
-
v29.1.1 Changes
๐ Fixes
- โช
[jest-mock]
Revert #13145 which broke mocking of transpiled ES modules
- โช
-
v29.1.0 Changes
๐ Features
- ๐
[expect, @jest/expect]
support type inference for function parameters inCalledWith
assertions (#13268) [expect, @jest/expect]
Infer type of*ReturnedWith
matchers argument (#13278)[@jest/environment, jest-runtime]
Allowjest.requireActual
andjest.requireMock
to take a type argument (#13253)- ๐คก
[@jest/environment]
Allowjest.mock
andjest.doMock
to take a type argument (#13254) [@jest/fake-timers]
Addjest.now()
to return the current fake clock time (#13244, #13246)- ๐คก
[@jest/mock]
AddwithImplementation
method for temporarily overriding a mock (#13281) [expect]
ExporttoThrow*
matchers (#13328)
๐ Fixes
[jest-circus, jest-jasmine2]
Fix error messages for Node'sassert.throes
(#13322)[jest-haste-map]
Remove__proto__
usage (#13256)- ๐คก
[jest-mock]
ImprovespyOn
typings to handle optional properties (#13247) - ๐คก
[jest-mock]
Fix mocking of getters and setters on classes (#13145) [jest-snapshot]
Throw useful error when an array is passed as property matchers (#13263)- ๐
[jest-snapshot]
Prioritize parser used in the project (#13323) - ๐
[jest-transform]
Attempt to work around issues with atomic writes on Windows (#11423)
- ๐
-
v29.0.3 Changes
๐ Features
[@jest/environment, jest-runtime]
Allow passing a generic type argument tojest.createMockFromModule<T>()
method (#13202)[expect]
ExposeExpectationResult
type (#13240)[jest-snapshot]
ExposeContext
type (#13240)- ๐คก
[@jest/globals]
Addjest.Mock
type helper (#13235)
๐ Fixes
- โฑ
[jest-core]
CaptureexecError
duringTestScheduler.scheduleTests
and dispatch to reporters (#13203) [jest-resolve]
Make sure to resolve module paths after looking atexports
(#13242)[jest-resolve]
Improve error on module not found deep in therequire
stack (#8704)[jest-snapshot]
Fix typings of snapshot matchers (#13240)
๐ง Chore & Maintenance
-
v29.0.2 Changes