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
+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[];