Skip to content

Commit

Permalink
build(deps-dev): bump @testing-library/react from 14.1.2 to 14.2.1 (#326
Browse files Browse the repository at this point in the history
)

* build(deps-dev): bump @testing-library/react from 14.1.2 to 14.2.1

Bumps [@testing-library/react](https://github.com/testing-library/react-testing-library) from 14.1.2 to 14.2.1.
- [Release notes](https://github.com/testing-library/react-testing-library/releases)
- [Changelog](https://github.com/testing-library/react-testing-library/blob/main/CHANGELOG.md)
- [Commits](testing-library/react-testing-library@v14.1.2...v14.2.1)

---
updated-dependencies:
- dependency-name: "@testing-library/react"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* fix: types

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: shrouxm <[email protected]>
  • Loading branch information
dependabot[bot] and shrouxm authored Mar 5, 2024
1 parent 78be899 commit 3786ea5
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 6 deletions.
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@
"@graphql-codegen/client-preset": "^4.1.0",
"@ianvs/prettier-plugin-sort-imports": "^4.1.1",
"@testing-library/jest-dom": "^6.2.1",
"@testing-library/react": "^14.1.2",
"@testing-library/react": "^14.2.1",
"@types/jest-axe": "^3.5.9",
"@types/lodash": "^4.14.201",
"@types/uuid": "^9.0.8",
Expand Down
2 changes: 1 addition & 1 deletion src/tests/utils.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ export type TestAppDispatch = DispatchFromStoreFactory<typeof createStore>;

const baseRender = (component: ReactElement, intialState?: TestAppState) => {
const store = createStore(intialState);
const Wrapper = ({ children }: { children: ReactElement }) => (
const Wrapper = ({ children }: React.PropsWithChildren<{}>) => (
<Provider store={store}>{children}</Provider>
);
return { renderResult: rtlRender(component, { wrapper: Wrapper }), store };
Expand Down

0 comments on commit 3786ea5

Please sign in to comment.