Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Bump jest from 23.1.0 to 26.1.0 #393

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

dependabot-preview[bot]
Copy link
Contributor

Bumps jest from 23.1.0 to 26.1.0.

Release notes

Sourced from jest's releases.

26.1.0

Features

  • [jest-mock] Export Mock, MockInstance, SpyInstance types (#10138)
  • [jest-config] Support config files exporting (async) functions (#10001)
  • [jest-cli, jest-core] Add --selectProjects CLI argument to filter test suites by project name (#8612)
  • [jest-cli, jest-init] Add coverageProvider to jest --init prompts (#10044)

Fixes

  • [jest-console] getConsoleOutput to receive global stack trace config and use it to format stack trace (#10081)
  • [jest-jasmine2] Stop adding : after an error that has no message (#9990)
  • [jest-diff] Control no diff message color with commonColor in diff options (#9997)
  • [jest-snapshot] Fix TypeScript compilation (#10008)

Chore & Maintenance

  • [docs] Correct confusing filename in enableAutomock example (#10055)
  • [jest-core] 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 (#10000)
  • [jest-core, jest-reporters, jest-test-result, jest-types] Cleanup displayName type (#10049)
  • [jest-runtime] Jest-internal sandbox escape hatch (#9907)
  • [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)
Changelog

Sourced from jest's changelog.

26.1.0

Features

  • [jest-mock] Export Mock, MockInstance, SpyInstance types (#10138)
  • [jest-config] Support config files exporting (async) functions (#10001)
  • [jest-cli, jest-core] Add --selectProjects CLI argument to filter test suites by project name (#8612)
  • [jest-cli, jest-init] Add coverageProvider to jest --init prompts (#10044)

Fixes

  • [jest-console] getConsoleOutput to receive global stack trace config and use it to format stack trace (#10081)
  • [jest-jasmine2] Stop adding : after an error that has no message (#9990)
  • [jest-diff] Control no diff message color with commonColor in diff options (#9997)
  • [jest-snapshot] Fix TypeScript compilation (#10008)

Chore & Maintenance

  • [docs] Correct confusing filename in enableAutomock example (#10055)
  • [jest-core] 🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉🎉 (#10000)
  • [jest-core, jest-reporters, jest-test-result, jest-types] Cleanup displayName type (#10049)
  • [jest-runtime] Jest-internal sandbox escape hatch (#9907)
  • [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)
Commits
Maintainer changes

This version was pushed to npm by simenb, a new releaser for jest since your current version.


Dependabot compatibility score

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:

  • Update frequency (including time of day and day of week)
  • Pull request limits (per update run and/or open at any time)
  • Automerge options (never/patch/minor, and dev/runtime dependencies)
  • Out-of-range updates (receive only lockfile updates, if desired)
  • Security updates (receive only security updates, if desired)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants