create-probot-app
create-probot-app copied to clipboard
build(deps-dev): bump jest from 26.6.3 to 27.0.1 in /templates/basic-ts
Bumps jest from 26.6.3 to 27.0.1.
Release notes
Sourced from jest's releases.
27.0.1
Fixes
[jest-environment-jsdom]Bump version of JSDOM to avoid deprecatedrequestpackage (#11442)27.0.0
Features
[babel-jest]Add async transformation (#11192)[jest-changed-files]Use '--' to separate paths from revisions (#11160)[jest-circus][BREAKING] Fail tests when multipledone()calls are made (#10624)[jest-circus, jest-jasmine2][BREAKING] Fail the test instead of just warning when describe returns a value (#10947)[jest-config][BREAKING] Default to Node testing environment instead of browser (JSDOM) (#9874)[jest-config][BREAKING] Usejest-circusas default test runner (#10686)[jest-config]Add support forpresetwritten in ESM (#11200)[jest-config, jest-runtime]Support ESM for files other than.jsand.mjs(#10823)[jest-config, jest-runtime][BREAKING] Use "modern" implementation as default for fake timers (#10874 & #11197)[jest-configAllow passingforceNodeFilesystemAPIthrough tojest-haste-map(#11264)[jest-config, jest-haste-map, jest-resolve, jest-runner, jest-runtime, jest-test-sequencer, jest-transform, jest-types][BREAKING] Add custom HasteMap class implementation config option (#11107)[jest-core]makeTestWatcherextendemittery(#10324)[jest-core]Run failed tests interactively the same way we do with snapshots (#10858)[jest-core]moreTestSequencermethods can be async (#10980)[jest-core]Add support fortestSequencerwritten in ESM (#11207)[jest-core]Add support forglobalSetupandglobalTeardownwritten in ESM (#11267)[jest-core]Add support forwatchPluginswritten in ESM (#11315)[jest-core]Add support forrunnerwritten in ESM (#11232)[jest-core]Add support forreporterswritten in ESM (#11427)[jest-each]Add support for interpolation with object properties (#11388)[jest-environment-node]Add AbortController to globals (#11182)[@jest/fake-timers]Update to@sinonjs/fake-timersto v7 (#11198)[jest-haste-map]Handle injected scm clocks (#10966)[jest-haste-map]AddenableSymlinksconfiguration option to follow symlinks for test files (#9351)[jest-repl, jest-runner][BREAKING] Run transforms over environment (#8751)[jest-repl]Add support fortestEnvironmentwritten in ESM (#11232)[jest-runner][BREAKING] set exit code to 1 if test logs after teardown (#10728)[jest-runner][BREAKING] Run transforms overrunnner(#8823)[jest-runner][BREAKING] Run transforms overtestRunnner(#8823)[jest-runner]Possibility to use ESM for test environment (11033)[jest-runner]Add support fortestRunnerwritten in ESM (#11232)[jest-runtime]Detect reexports from CJS as named exports in ESM (#10988)[jest-runtime]Support for async code transformations (#11191 & #11220)[jest-reporters]Add static filepath property to all reporters (#11015)[jest-snapshot][BREAKING] Make prettier optional for inline snapshots - fall back to string replacement (#7792 & #11192)[jest-snapshot][BREAKING] Run transforms oversnapshotResolver(#8751)[jest-transform]Pass config options defined in Jest's config to transformer'sprocessandgetCacheKeyfunctions (#10926)[jest-transform]Add support for transformers written in ESM (#11163)[jest-transform][BREAKING] Do not exportScriptTransformerclass, instead export the async functioncreateScriptTransformer(#11163)[jest-transform]Async code transformations (#9889)
... (truncated)
Changelog
Sourced from jest's changelog.
27.0.1
Fixes
[jest-environment-jsdom]Bump version of JSDOM to avoid deprecatedrequestpackage (#11442)27.0.0
Features
[babel-jest]Add async transformation (#11192)[jest-changed-files]Use '--' to separate paths from revisions (#11160)[jest-circus][BREAKING] Fail tests when multipledone()calls are made (#10624)[jest-circus, jest-jasmine2][BREAKING] Fail the test instead of just warning when describe returns a value (#10947)[jest-config][BREAKING] Default to Node testing environment instead of browser (JSDOM) (#9874)[jest-config][BREAKING] Usejest-circusas default test runner (#10686)[jest-config]Add support forpresetwritten in ESM (#11200)[jest-config, jest-runtime]Support ESM for files other than.jsand.mjs(#10823)[jest-config, jest-runtime][BREAKING] Use "modern" implementation as default for fake timers (#10874 & #11197)[jest-configAllow passingforceNodeFilesystemAPIthrough tojest-haste-map(#11264)[jest-config, jest-haste-map, jest-resolve, jest-runner, jest-runtime, jest-test-sequencer, jest-transform, jest-types][BREAKING] Add custom HasteMap class implementation config option (#11107)[jest-core]makeTestWatcherextendemittery(#10324)[jest-core]Run failed tests interactively the same way we do with snapshots (#10858)[jest-core]moreTestSequencermethods can be async (#10980)[jest-core]Add support fortestSequencerwritten in ESM (#11207)[jest-core]Add support forglobalSetupandglobalTeardownwritten in ESM (#11267)[jest-core]Add support forwatchPluginswritten in ESM (#11315)[jest-core]Add support forrunnerwritten in ESM (#11232)[jest-core]Add support forreporterswritten in ESM (#11427)[jest-each]Add support for interpolation with object properties (#11388)[jest-environment-node]Add AbortController to globals (#11182)[@jest/fake-timers]Update to@sinonjs/fake-timersto v7 (#11198)[jest-haste-map]Handle injected scm clocks (#10966)[jest-haste-map]AddenableSymlinksconfiguration option to follow symlinks for test files (#9351)[jest-repl, jest-runner][BREAKING] Run transforms over environment (#8751)[jest-repl]Add support fortestEnvironmentwritten in ESM (#11232)[jest-runner][BREAKING] set exit code to 1 if test logs after teardown (#10728)[jest-runner][BREAKING] Run transforms overrunnner(#8823)[jest-runner][BREAKING] Run transforms overtestRunnner(#8823)[jest-runner]Possibility to use ESM for test environment (11033)[jest-runner]Add support fortestRunnerwritten in ESM (#11232)[jest-runtime]Detect reexports from CJS as named exports in ESM (#10988)[jest-runtime]Support for async code transformations (#11191 & #11220)[jest-reporters]Add static filepath property to all reporters (#11015)[jest-snapshot][BREAKING] Make prettier optional for inline snapshots - fall back to string replacement (#7792 & #11192)[jest-snapshot][BREAKING] Run transforms oversnapshotResolver(#8751)[jest-transform]Pass config options defined in Jest's config to transformer'sprocessandgetCacheKeyfunctions (#10926)[jest-transform]Add support for transformers written in ESM (#11163)[jest-transform][BREAKING] Do not exportScriptTransformerclass, instead export the async functioncreateScriptTransformer(#11163)[jest-transform]Async code transformations (#9889)
... (truncated)
Commits
2cb20e9v27.0.17c9441bchore: update changelog for release4659d45chore: bump jsdom (#11442)52c6c53chore(website): do not ignore changes to netlify config472760echore: use specific node version in netlifya832dc3Revert "Upgrade website to Docusaurus using webpack 5 (#11266)"3569b33chore: attempt to use v14 of node to deploy website6c32bc1chore: fix changelog headings244c921chore: update lockfile after publishbe16e47v27.0.0- Additional commits viewable 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)
you'll have to update ts-jest to 27 at the same time
you'll have to update
ts-jestto 27 at the same time
thanks for the heads up, will do asap
A newer version of jest exists, but since this PR has been edited by someone other than Dependabot I haven't updated it. You'll get a PR for the updated version as normal once this PR is merged.
@gr2m apparently that's not enough, see https://github.com/probot/create-probot-app/pull/461/checks?check_run_id=2712083972#step:6:191
Do you have a quick fix? otherwise I'll have to dig into it
GitHub
Closes #456
Test functions cannot both take a 'done' callback and return something
tests are async by default now, we either have to use done or return something, but when using done we have to return void
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.