-
Notifications
You must be signed in to change notification settings - Fork 810
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
Update JS unit testing packages #21605
Conversation
Caution: This PR has changes that must be merged to WordPress.com |
@adimoldovan Any idea why this is breaking the E2E tests? |
@anomiex Looks like |
Adi says it breaks the tests.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah, looks like that did it. I see ryparker/jest-circus-allure-environment#197 looks like it may be about the same issue.
Great news! One last step: head over to your WordPress.com diff, D69364-code, and commit it. Thank you! |
r234289-wpcom |
…ng-formatting * master: docker: Add script to create "fake" translations for testing i18n (#21407) Add webpack-config package (#21482) Update dependency composer/semver to v3.2.6 (#21608) Update dependency eslint-plugin-import to v2.25.2 (#21607) Update JS unit testing packages (#21605) Admin page: Fix pricing/currency displayed on the upgrade page (#21594) Update dependency @rollup/plugin-node-resolve to v13.0.6 (#21599) Publicize: Add new publicize icon toggle component (#20957) Search: hide search menu for atomic sites (#21565) Allow /wp/v2/sites/1234/batch endpoint to process widget updates (#21549) tooling: Add `.mjs` as a JavaScript extension (#21589) Jetpack: PHPCS src/class-tracking (#21583) Publicize: make the default social media message blank (#21477)
* master: docker: Add script to create "fake" translations for testing i18n (#21407) Add webpack-config package (#21482) Update dependency composer/semver to v3.2.6 (#21608) Update dependency eslint-plugin-import to v2.25.2 (#21607) Update JS unit testing packages (#21605) Admin page: Fix pricing/currency displayed on the upgrade page (#21594) Update dependency @rollup/plugin-node-resolve to v13.0.6 (#21599) Publicize: Add new publicize icon toggle component (#20957) Search: hide search menu for atomic sites (#21565) Allow /wp/v2/sites/1234/batch endpoint to process widget updates (#21549) tooling: Add `.mjs` as a JavaScript extension (#21589) Jetpack: PHPCS src/class-tracking (#21583) Publicize: make the default social media message blank (#21477)
* master: (40 commits) docker: Add script to create "fake" translations for testing i18n (#21407) Add webpack-config package (#21482) Update dependency composer/semver to v3.2.6 (#21608) Update dependency eslint-plugin-import to v2.25.2 (#21607) Update JS unit testing packages (#21605) Admin page: Fix pricing/currency displayed on the upgrade page (#21594) Update dependency @rollup/plugin-node-resolve to v13.0.6 (#21599) Publicize: Add new publicize icon toggle component (#20957) Search: hide search menu for atomic sites (#21565) Allow /wp/v2/sites/1234/batch endpoint to process widget updates (#21549) tooling: Add `.mjs` as a JavaScript extension (#21589) Jetpack: PHPCS src/class-tracking (#21583) Publicize: make the default social media message blank (#21477) Photon: do not serve Wikipedia images from CDN. (#21572) Publicize: update endpoint (#21510) [Plugin] Backup: Update initial backup screen (#21559) RNA Connect Screen: Remove unused files (#21570) RNA Connection: Add ConnectScreenRequiredPlan Component (#21521) Update PHPUnit coverage configs (#21557) cli: Fix skeleton phpunit config (#21555) ...
This PR contains the following updates:
5.12.0
->5.14.1
^27.2.4
->27.3.1
27.0.4
->27.3.1
1.1.0
->1.1.1
^27.0.6
->27.3.1
8.2.1
->8.4.0
13.0.7
->13.1.4
3.5.0
->3.7.0
Release Notes
testing-library/jest-dom
v5.14.1
Compare Source
Bug Fixes
v5.14.0
Compare Source
Features
v5.13.0
Compare Source
Features
toHaveErrorMessage
matcher (#370) (217fdcc)facebook/jest
v27.3.1
Compare Source
Fixes
[expect]
Makeexpect
extension propertiesconfigurable
(#11978)[expect]
Fix.any()
checks on primitive wrapper classes (#11976)Chore & Maintenance
[expect]
BigInt
global is always defined, don't check for its existence at runtime (#11979)[jest-config, jest-util]
Useci-info
instead ofis-ci
to detect CI environment (#11973)v27.3.0
Compare Source
Features
[jest-config]
AddtestEnvironmentOptions.html
to apply to jsdom input (#11950)[jest-resolver]
Support default export (.
) inexports
field ifmain
is missing (#11919)Fixes
[expect]
Tweak and improve types (#11949)[jest-runtime]
Ensure absolute paths can be resolved within test modules (#11943)[jest-runtime]
Fixinstanceof
forModernFakeTimers
andLegacyFakeTimers
methods (#11946)v27.2.5
Compare Source
Features
[jest-config]
Warn when multiple Jest configs are located (#11922)Fixes
[expect]
Pass matcher context to asymmetric matchers (#11926 & #11930)[expect]
Improve TypeScript types (#11931)[expect]
Improve typings oftoThrow()
andtoThrowError()
matchers (#11929)[jest-cli]
Improve--help
printout by removing defunct--browser
option (#11914)[jest-haste-map]
Use distinct cache paths for different values ofcomputeDependencies
(#11916)[@jest/reporters]
Do not bufferconsole.log
s when using verbose reporter (#11054)Chore & Maintenance
[expect]
Export default matchers (#11932)[@jest/types]
Mark deprecated configuration options as@deprecated
(#11913)v27.2.4
Compare Source
Features
[expect]
Add equality checks for Array Buffers inexpect.ToStrictEqual()
(#11805)Fixes
[jest-snapshot]
Correctly indent inline snapshots (#11560)v27.2.3
Compare Source
Features
[@jest/fake-timers]
Update@sinonjs/fake-timers
to v8 (#11879)Fixes
[jest-config]
ParsetestEnvironmentOptions
if received from CLI (#11902)[jest-reporters]
Calldestroy
onv8-to-istanbul
converters to free memory (#11896)v27.2.2
Compare Source
Fixes
[jest-runtime]
CorrectwrapperLength
value for ESM modules. (#11893)v27.2.1
Compare Source
Features
[jest-transform]
Improve the unexpected token error message. (#11807)Fixes
[jest-runtime]
Fix regression when usingjest.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)v27.2.0
Compare Source
Features
[jest-resolver, jest-runtime]
Passconditions
to custom resolvers to enable them to implement support for package.jsonexports
field (#11859)[jest-runtime]
Allow custom envs to specifyexportConditions
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 fromprocess.send
stub (#11799)v27.1.1
Compare Source
Features
[jest-runtime]
Add experimental, limited (and undocumented) support for mocking ECMAScript Modules (#11818)Fixes
[jest-resolver]
Supportnode:
prefix when importing Node core modules with ESM (#11817)[jest-types]
Export thePrettyFormatOptions
interface (#11801)v27.1.0
Compare Source
Features
[jest-haste-map]
Use watchman suffix-set option for faster file indexing. (#11784)[jest-cli]
Adds a new config optionssnapshotFormat
which offers a way to override any of the formatting settings which come with pretty-format. (#11654)[jest-reporters]
Expose thegetSummary
util (#11695).[jest-resolver]
Supportnode:
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 foruserAgent
option (#11773)[jest-environment-node]
AddEvent
andEventTarget
to node global environment. (#11727)[jest-mock]
FixspyOn
to useObject.prototype.hasOwnProperty
(#11721)[jest-resolver]
Add dependency onjest-haste-map
(#11759)[jest-types]
Compat with@types/node
v16 (#11645)Chore & Maintenance
[docs]
Correctexpects.assertions
documentation by adding async/await for asynchronous function.v27.0.6
Compare Source
Fixes
[*]
Publish all modules to include the build change in (#11569)v27.0.5
Compare Source
Features
[@jest/fake-timers]
Flush callbacks scheduled withrequestAnimationFrame
every 16ms when using legacy timers. (#11523)[pretty-format]
UseglobalThis
(with polyfill if required) to bring support for esbuild's browser bundling mode (#11569)Fixes
[jest-core]
Support special characters like@
,+
and()
on Windows with--findRelatedTests
(#11548)[@jest/fake-timers]
Do not addsetImmediate
andclearImmediate
if they do not exist in the global environment (#11599)[@jest/reporters]
Allownode-notifier@10
as peer dependency (#11523)[@jest/reporters]
Updatev8-to-istanbul
(#11523)ryparker/jest-circus-allure-environment
v1.1.1
Compare Source
Bug Fixes
mochajs/mocha
v8.4.0
Compare Source
🎉 Enhancements
🐛 Fixes
📖 Documentation
options.require
to Mocha constructor forroot hook
plugins on parallel runs (@juergba)top-level await
and ESM test files (@juergba)Also thanks to @outsideris for various improvements on our GH actions workflows.
v8.3.2
Compare Source
🐛 Fixes
require
interface (@alexander-fenster)📖 Documentation
v8.3.1
Compare Source
🐛 Fixes
EvalError
caused by regenerator-runtime (@snoack)import
from mocha in parallel mode (@nicojs)v8.3.0
Compare Source
🎉 Enhancements
🐛 Fixes
require
error when bundling Mocha with Webpack (@devhazem)📖 Documentation
🔩 Other
Also thanks to @outsideris and @HyunSangHan for various fixes to our website and documentation.
nock/nock
v13.1.4
Compare Source
Bug Fixes
v13.1.3
Compare Source
Bug Fixes
v13.1.2
Compare Source
Bug Fixes
v13.1.1
Compare Source
Bug Fixes
v13.1.0
Compare Source
Features
v13.0.11
Compare Source
Bug Fixes
v13.0.10
Compare Source
Bug Fixes
v13.0.9
Compare Source
Bug Fixes
destroyed
attribute (#2152) (b9758c8)v13.0.8
Compare Source
Bug Fixes
domenic/sinon-chai
v3.7.0
Compare Source
v3.6.0
Compare Source
Configuration
📅 Schedule: "before 3am on the first day of the month" in timezone UTC.
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Renovate will not automatically rebase this PR, because other commits have been found.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by WhiteSource Renovate. View repository job log here.