build(deps): bump @testing-library/user-event from 14.4.1 to 14.4.2 (#1035)

* build(deps): bump @testing-library/user-event from 14.4.1 to 14.4.2

Bumps [@testing-library/user-event](https://github.com/testing-library/user-event) from 14.4.1 to 14.4.2.
- [Release notes](https://github.com/testing-library/user-event/releases)
- [Changelog](https://github.com/testing-library/user-event/blob/main/CHANGELOG.md)
- [Commits](https://github.com/testing-library/user-event/compare/v14.4.1...v14.4.2)

---
updated-dependencies:
- dependency-name: "@testing-library/user-event"
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

* [dependabot skip] Fix yarn.lock

* test/index: fix breaking change from testing-library/user-event update

Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: dependabot-fix <dependabot-fix@example.com>
Co-authored-by: David Lechner <david@pybricks.com>
This commit is contained in:
dependabot[bot]
2022-08-05 19:54:11 +00:00
committed by GitHub
co-authored by dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> dependabot-fix David Lechner
parent 7ba37e707f
commit 35312810c3
3 changed files with 9 additions and 7 deletions
+1 -1
View File
@@ -23,7 +23,7 @@
"@testing-library/dom": "^8.16.0",
"@testing-library/jest-dom": "^5.16.5",
"@testing-library/react": "^12.1.5",
"@testing-library/user-event": "^14.4.1",
"@testing-library/user-event": "^14.4.2",
"@types/file-saver": "^2.0.5",
"@types/jest": "^28.1.6",
"@types/node": "^16.11.7",
+3 -1
View File
@@ -6,7 +6,6 @@ import { ThunkAction, configureStore } from '@reduxjs/toolkit';
import { I18nContext, I18nManager } from '@shopify/react-i18n';
import { RenderResult, render } from '@testing-library/react';
import userEvent from '@testing-library/user-event';
import type { UserEvent } from '@testing-library/user-event/dist/types/setup';
import React, { ReactElement } from 'react';
import { Provider } from 'react-redux';
import { AnyAction, PreloadedState, legacy_createStore as createStore } from 'redux';
@@ -15,6 +14,9 @@ import { UUID } from '../src/fileStorage';
import { RootState, rootReducer } from '../src/reducers';
import { RootSagaContext } from '../src/sagas';
// HACK: not a public type so can't be imported directly
type UserEvent = ReturnType<typeof userEvent.setup>;
export class AsyncSaga {
private channel: MulticastChannel<AnyAction>;
private dispatches: AnyAction[];
+5 -5
View File
@@ -2367,7 +2367,7 @@ __metadata:
"@testing-library/dom": ^8.16.0
"@testing-library/jest-dom": ^5.16.5
"@testing-library/react": ^12.1.5
"@testing-library/user-event": ^14.4.1
"@testing-library/user-event": ^14.4.2
"@types/file-saver": ^2.0.5
"@types/jest": ^28.1.6
"@types/node": ^16.11.7
@@ -4238,12 +4238,12 @@ __metadata:
languageName: node
linkType: hard
"@testing-library/user-event@npm:^14.4.1":
version: 14.4.1
resolution: "@testing-library/user-event@npm:14.4.1"
"@testing-library/user-event@npm:^14.4.2":
version: 14.4.2
resolution: "@testing-library/user-event@npm:14.4.2"
peerDependencies:
"@testing-library/dom": ">=7.21.4"
checksum: 01f2318097d64ab99c400a2825680b241451c7d87e69fbda9135b7c896d4205afff46b55b25fcfff47542732d38918c6ca49d2e937892931f6f93346ccbc1950
checksum: 66364f2c503ddc01f5fdf98507aecf40b4edf0b9c140332aaf0161b1d7d52dea8a5d93baee927ae955bd7d6d58be0c12367a2cff924bdb4232746f0e614f9e03
languageName: node
linkType: hard