php
                                
                                 php copied to clipboard
                                
                                    php copied to clipboard
                            
                            
                            
                        Bump jest from 29.0.2 to 29.1.2
Bumps jest from 29.0.2 to 29.1.2.
Release notes
Sourced from jest's releases.
v29.1.2
Fixes
[expect, @jest/expect]Revert buggy inference of argument types for*CalledWithand*ReturnedWithmatchers introduced in 29.1.0 (#13339)
[jest-worker]Add missing dependency onjest-util(#13341)New Contributors
@âbrunocabral88made their first contribution in facebook/jest#13329
@âalexander-akaitmade their first contribution in facebook/jest#13341Full Changelog: https://github.com/facebook/jest/compare/v29.1.1...v29.1.2
v29.1.1
Fixes
[jest-mock]Revert #13145 which broke mocking of transpiled ES modulesFull Changelog: https://github.com/facebook/jest/compare/v29.1.0...v29.1.1
v29.1.0
Features
[expect, @jest/expect]support type inference for function parameters inCalledWithassertions (#13268)
[expect, @jest/expect]Infer type of*ReturnedWithmatchers argument (#13278)
[@jest/environment, jest-runtime]Allowjest.requireActualandjest.requireMockto take a type argument (#13253)
[@jest/environment]Allowjest.mockandjest.doMockto take a type argument (#13254)
[@jest/fake-timers]Addjest.now()to return the current fake clock time (#13244, #13246)
[@jest/mock]AddwithImplementationmethod 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]ImprovespyOntypings 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)New Contributors
@âfzn0xmade their first contribution in facebook/jest#13234
@âguimardmade their first contribution in facebook/jest#13256
@âweidehaimade their first contribution in facebook/jest#13270
@âkettanaitomade their first contribution in facebook/jest#12871
@âroyhadadmade their first contribution in facebook/jest#13279
@âghiscodingmade their first contribution in facebook/jest#13290
@âpaulreecemade their first contribution in facebook/jest#13311
@âjeppestermade their first contribution in facebook/jest#13281
@âsashashuramade their first contribution in facebook/jest#13324
... (truncated)
Changelog
Sourced from jest's changelog.
29.1.2
Fixes
[expect, @jest/expect]Revert buggy inference of argument types for*CalledWithand*ReturnedWithmatchers introduced in 29.1.0 (#13339)
[jest-worker]Add missing dependency onjest-util(#13341)29.1.1
Fixes
[jest-mock]Revert #13145 which broke mocking of transpiled ES modules29.1.0
Features
[expect, @jest/expect]Support type inference for function parameters inCalledWithassertions (#13268)
[expect, @jest/expect]Infer type of*ReturnedWithmatchers argument (#13278)
[@jest/environment, jest-runtime]Allowjest.requireActualandjest.requireMockto take a type argument (#13253)
[@jest/environment]Allowjest.mockandjest.doMockto take a type argument (#13254)
[@jest/fake-timers]Addjest.now()to return the current fake clock time (#13244, #13246)
[@jest/mock]AddwithImplementationmethod 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]ImprovespyOntypings 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)29.0.3
Features
[@jest/environment, jest-runtime]Allow passing a generic type argument tojest.createMockFromModule<T>()method (#13202)
[expect]ExposeExpectationResulttype (#13240)
[jest-snapshot]ExposeContexttype (#13240)
[@jest/globals]Addjest.Mocktype helper (#13235)Fixes
[jest-core]CaptureexecErrorduringTestScheduler.scheduleTestsand 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 therequirestack (#8704)
[jest-snapshot]Fix typings of snapshot matchers (#13240)
... (truncated)
Commits
- 3c31dd6v29.1.2
- fd9cd90v29.1.1
- 51f1030v29.1.0
- 77f865dv29.0.3
- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
- @dependabot rebasewill rebase this PR
- @dependabot recreatewill recreate this PR, overwriting any edits that have been made to it
- @dependabot mergewill merge this PR after your CI passes on it
- @dependabot squash and mergewill squash and merge this PR after your CI passes on it
- @dependabot cancel mergewill cancel a previously requested merge and block automerging
- @dependabot reopenwill reopen this PR if it is closed
- @dependabot closewill close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- @dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
- @dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
- @dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)