[jest-fake-timers] Update now param type to support Date in addition to number. (#10169)
[docs] Add param to setSystemTime docs and remove preceding period from it and getRealSystemTime (#10169)
[jest-snapshot, jest-util] Replace make-dir with fs.mkdir (#10136)
Performance
[jest-core, jest-transform, jest-haste-map] Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances (#10131)
26.0.1
Fixes
[jest-circus] Backward compatibility for deprecated DescribeBlock.tests to not break e.g. Detox reporter
26.0.0
Features
[jest-environment-jsdom] [BREAKING] Upgrade jsdom to v16 (#9606)
[@jest/fake-timers] Add possibility to use a modern implementation of fake timers, backed by @sinonjs/fake-timers (#7776)
[jest-runtime] Add createMockFromModule as an alias for genMockFromModule (#9962)
Fixes
[babel-jest] Handle null being passed to createTransformer (#9955)
[jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format] Fix time durating formatting and consolidate time formatting code (#9765)
[jest-circus] [BREAKING] Fail tests if a test takes a done callback and have return values (#9129)
[jest-circus] [BREAKING] Throw a proper error if a test / hook is defined asynchronously (#8096)
[jest-circus] Throw more descriptive error if hook is defined inside test (#9957)
[jest-circus] [BREAKING] Align execution order of tests to match jasmine's top to bottom order (#9965)
[jest-config, jest-resolve] [BREAKING] Remove support for browser field (#9943)
[jest-core, jest-transform, jest-haste-map] Improve Jest startup time and test runtime, particularly when running with coverage, by caching micromatch and avoiding recreating RegExp instances (#10131)
26.0.1
Fixes
[jest-circus] Backward compatibility for deprecated DescribeBlock.tests to not break e.g. Detox reporter
26.0.0
Features
[jest-environment-jsdom] [BREAKING] Upgrade jsdom to v16 (#9606)
[@jest/fake-timers] Add possibility to use a modern implementation of fake timers, backed by @sinonjs/fake-timers (#7776)
[jest-runtime] Add createMockFromModule as an alias for genMockFromModule (#9962)
Fixes
[babel-jest] Handle null being passed to createTransformer (#9955)
[jest-circus, jest-console, jest-jasmine2, jest-reporters, jest-util, pretty-format] Fix time durating formatting and consolidate time formatting code (#9765)
[jest-circus] [BREAKING] Fail tests if a test takes a done callback and have return values (#9129)
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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Bumps jest from 25.5.3 to 26.1.0.
Release notes
Sourced from jest's releases.
Changelog
Sourced from jest's changelog.
Commits
817d8b6
v26.1.030658c6
chore: update changelog for releasea1fa776
chore: quote globs in scripts (#10190)17c3f14
chore: replacemake-dir
withfs.mkdir
(#10136)ee40194
Update ExpectAPI.md (#10141)95b94e8
feat(jest-mock): Export Mock, MockInstance, SpyInstance types (#10138)504cace
Improve Jest startup time and test runtime, particularly when running with co...4471bbb
Update GlobalAPI.md (#10157)15576d3
Update links to Reactiflux (#10180)852819a
Update UsingMatchers.md (#10161)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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired)