[jest-config] [BREAKING] Stop shipping jest-environment-jsdom by default (#12354)
[jest-config] [BREAKING] Stop shipping jest-jasmine2 by default (#12355)
[jest-config, @jest/types] Add ci to GlobalConfig (#12378)
[jest-config] [BREAKING] Rename moduleLoader to runtime (#10817)
[jest-config] [BREAKING] Rename extraGlobals to sandboxInjectedGlobals (#10817)
[jest-config] [BREAKING] Throw an error instead of showing a warning if multiple configs are used (#12510)
[jest-config] [BREAKING] Do not normalize long deprecated configuration options preprocessorIgnorePatterns,scriptPreprocessor, setupTestFrameworkScriptFile and testPathDirs (#1251270110)
[jest-cli, jest-core] Add --ignoreProjects CLI argument to ignore test suites by project name (#12620)
[jest-core] Pass project config to globalSetup/globalTeardown function as second argument (#12440)
[jest-core] Stabilize test runners with event emitters (#12641)
[jest-core, jest-watcher] [BREAKING] Move TestWatcher class to jest-watcher package (#12652)
[jest-core] Allow using Summary Reporter as stand-alone reporter (#12687)
[jest-environment-jsdom] [BREAKING] Upgrade jsdom to 19.0.0 (#12290)
[jest-environment-jsdom] [BREAKING] Add default browser condition to exportConditions for jsdom environment (#11924)
[jest-environment-jsdom] [BREAKING] Pass global config to Jest environment constructor for jsdom environment (#12461)
[jest-environment-jsdom] [BREAKING] Second argument context to constructor is mandatory (#12469)
[jest-environment-node] [BREAKING] Add default node and node-addon conditions to exportConditions for node environment (#11924)
[jest-environment-node] [BREAKING] Pass global config to Jest environment constructor for node environment (#12461)
[jest-environment-node] [BREAKING] Second argument context to constructor is mandatory (#12469)
[jest-environment-node] Add all available globals to test globals, not just explicit ones (#12642, #12696)
[@jest/expect] New module which extends expect with jest-snapshot matchers (#12404, #12410, #12418)
[@jest/expect-utils] New module exporting utils for expect (#12323)
[@jest/fake-timers] [BREAKING] Rename timers configuration option to fakeTimers (#12572)
[@jest/fake-timers] [BREAKING] Allow jest.useFakeTimers() and projectConfig.fakeTimers to take an options bag (#12572)
[jest-haste-map] [BREAKING] HasteMap.create now returns a promise (#12008)
[jest-haste-map] Add support for dependencyExtractor written in ESM (#12008)
[jest-mock] [BREAKING] Rename exported utility types ClassLike, FunctionLike, ConstructorLikeKeys, MethodLikeKeys, PropertyLikeKeys; remove exports of utility types ArgumentsOf, ArgsType, ConstructorArgumentsOf - TS builtin utility types ConstructorParameters and Parameters should be used instead (#12435, #12489)
[jest-mock] Improve isMockFunction to infer types of passed function (#12442)
[jest-mock] [BREAKING] Improve the usage of jest.fn generic type argument (#12489)
[jest-mock] Add support for auto-mocking async generator functions (#11080)
[jest-mock] Add contexts member to mock functions (#12601)
[jest-config] [BREAKING] Stop shipping jest-environment-jsdom by default (#12354)
[jest-config] [BREAKING] Stop shipping jest-jasmine2 by default (#12355)
[jest-config, @jest/types] Add ci to GlobalConfig (#12378)
[jest-config] [BREAKING] Rename moduleLoader to runtime (#10817)
[jest-config] [BREAKING] Rename extraGlobals to sandboxInjectedGlobals (#10817)
[jest-config] [BREAKING] Throw an error instead of showing a warning if multiple configs are used (#12510)
[jest-config] [BREAKING] Do not normalize long deprecated configuration options preprocessorIgnorePatterns,scriptPreprocessor, setupTestFrameworkScriptFile and testPathDirs (#1251270110)
[jest-cli, jest-core] Add --ignoreProjects CLI argument to ignore test suites by project name (#12620)
[jest-core] Pass project config to globalSetup/globalTeardown function as second argument (#12440)
[jest-core] Stabilize test runners with event emitters (#12641)
[jest-core, jest-watcher] [BREAKING] Move TestWatcher class to jest-watcher package (#12652)
[jest-core] Allow using Summary Reporter as stand-alone reporter (#12687)
[jest-environment-jsdom] [BREAKING] Upgrade jsdom to 19.0.0 (#12290)
[jest-environment-jsdom] [BREAKING] Add default browser condition to exportConditions for jsdom environment (#11924)
[jest-environment-jsdom] [BREAKING] Pass global config to Jest environment constructor for jsdom environment (#12461)
[jest-environment-jsdom] [BREAKING] Second argument context to constructor is mandatory (#12469)
[jest-environment-node] [BREAKING] Add default node and node-addon conditions to exportConditions for node environment (#11924)
[jest-environment-node] [BREAKING] Pass global config to Jest environment constructor for node environment (#12461)
[jest-environment-node] [BREAKING] Second argument context to constructor is mandatory (#12469)
[jest-environment-node] Add all available globals to test globals, not just explicit ones (#12642, #12696)
[@jest/expect] New module which extends expect with jest-snapshot matchers (#12404, #12410, #12418)
[@jest/expect-utils] New module exporting utils for expect (#12323)
[@jest/fake-timers] [BREAKING] Rename timers configuration option to fakeTimers (#12572)
[@jest/fake-timers] [BREAKING] Allow jest.useFakeTimers() and projectConfig.fakeTimers to take an options bag (#12572)
[jest-haste-map] [BREAKING] HasteMap.create now returns a promise (#12008)
[jest-haste-map] Add support for dependencyExtractor written in ESM (#12008)
[jest-mock] [BREAKING] Rename exported utility types ClassLike, FunctionLike, ConstructorLikeKeys, MethodLikeKeys, PropertyLikeKeys; remove exports of utility types ArgumentsOf, ArgsType, ConstructorArgumentsOf - TS builtin utility types ConstructorParameters and Parameters should be used instead (#12435, #12489)
[jest-mock] Improve isMockFunction to infer types of passed function (#12442)
[jest-mock] [BREAKING] Improve the usage of jest.fn generic type argument (#12489)
[jest-mock] Add support for auto-mocking async generator functions (#11080)
[jest-mock] Add contexts member to mock functions (#12601)
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 rebase` will rebase this PR
- `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it
- `@dependabot merge` will merge this PR after your CI passes on it
- `@dependabot squash and merge` will squash and merge this PR after your CI passes on it
- `@dependabot cancel merge` will cancel a previously requested merge and block automerging
- `@dependabot reopen` will reopen this PR if it is closed
- `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
- `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
Bumps jest from 27.0.4 to 28.0.0.
Release notes
Sourced from jest's releases.
... (truncated)
Changelog
Sourced from jest's changelog.
... (truncated)
Commits
8f9b812
v28.0.08b4b787
v28.0.0-alpha.11d5eda7f
v28.0.0-alpha.107c63f59
v28.0.0-alpha.9ccecdae
Enforce same version of a dependency (#12668)09fa164
feat(jest-core, jest-watcher)!: moveTestWatcher
class tojest-watcher
(#...d915e7d
v28.0.0-alpha.806f58f8
v28.0.0-alpha.76284ada
v28.0.0-alpha.646fb19b
v28.0.0-alpha.5Dependabot 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 rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot ignore this major version` will 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 version` will 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 dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)