[jest-transform] Improve the unexpected token error message. (#11807)
Fixes
[jest-runtime] Fix regression when using jest.isolateModules and mocks (#11882)
[jest-runtime] Include test name when importing modules after test has completed (#11885)
[jest-runtime] Error when ESM import is used after test is torn down (#11885)
27.2.0
Features
[jest-resolver, jest-runtime] Pass conditions to custom resolvers to enable them to implement support for package.json exports field (#11859)
[jest-runtime] Allow custom envs to specify exportConditions which is passed together with Jest's own conditions to custom resolvers (#11863)
Fixes
[@jest/reporters] Use async transform if available to transform files with no coverage (#11852)
[jest-util] Return correct value from process.send stub (#11799)
27.1.1
Features
[jest-runtime] Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (#11818)
Fixes
[jest-resolver] Support node: prefix when importing Node core modules with ESM (#11817)
[jest-types] Export the PrettyFormatOptions interface (#11801)
27.1.0
Features
[jest-haste-map] Use watchman suffix-set option for faster file indexing. (#11784)
[jest-cli] Adds a new config options snapshotFormat which offers a way to override any of the formatting settings which come with pretty-format. (#11654)
[jest-reporters] Expose the getSummary util (#11695).
[jest-resolver] Support node: prefix when importing Node core modules (#11331)
Fixes
[jest-each] Relaxed the validation to allow multibyte characters in headings (#11575)
[jest-environment-jsdom] Add support for userAgent option (#11773)
[jest-environment-node] Add Event and EventTarget to node global environment. (#11727)
[jest-mock] Fix spyOn to use Object.prototype.hasOwnProperty (#11721)
[jest-resolver] Add dependency on jest-haste-map (#11759)
[jest-transform] Improve the unexpected token error message. (#11807)
Fixes
[jest-runtime] Fix regression when using jest.isolateModules and mocks (#11882)
[jest-runtime] Include test name when importing modules after test has completed (#11885)
[jest-runtime] Error when ESM import is used after test is torn down (#11885)
27.2.0
Features
[jest-resolver, jest-runtime] Pass conditions to custom resolvers to enable them to implement support for package.json exports field (#11859)
[jest-runtime] Allow custom envs to specify exportConditions which is passed together with Jest's own conditions to custom resolvers (#11863)
Fixes
[@jest/reporters] Use async transform if available to transform files with no coverage (#11852)
[jest-util] Return correct value from process.send stub (#11799)
27.1.1
Features
[jest-runtime] Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (#11818)
Fixes
[jest-resolver] Support node: prefix when importing Node core modules with ESM (#11817)
[jest-types] Export the PrettyFormatOptions interface (#11801)
27.1.0
Features
[jest-haste-map] Use watchman suffix-set option for faster file indexing. (#11784)
[jest-cli] Adds a new config options snapshotFormat which offers a way to override any of the formatting settings which come with pretty-format. (#11654)
[jest-reporters] Expose the getSummary util (#11695).
[jest-resolver] Support node: prefix when importing Node core modules (#11331)
Fixes
[jest-each] Relaxed the validation to allow multibyte characters in headings (#11575)
[jest-environment-jsdom] Add support for userAgent option (#11773)
[jest-environment-node] Add Event and EventTarget to node global environment. (#11727)
[jest-mock] Fix spyOn to use Object.prototype.hasOwnProperty (#11721)
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 26.6.2 to 27.2.1.
Release notes
Sourced from jest's releases.
... (truncated)
Changelog
Sourced from jest's changelog.
... (truncated)
Commits
50862b4
v27.2.15aad21f
chore: update changelog for release6175fa1
make the syntax error message more helpful for TS users (#11807)31cad20
fix: include path to test file in "after teardown" error (#11885)7c4ea24
docs: add link to the typescript integration instructions (#11806)651eb37
fix: properly return mocks when using jest.isolatedModules (#11882)f4188de
chore: remove node version pinning from CI (#11866)2f135d3
chore: remove node 13 as condition in some tests (#11880)d7f0975
chore: fix typo in docse37c17d
chore: update lockfile after publishDependabot 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)