Skip to content

Commit f6a72cf

Browse files
renovate[bot]scaleway-botQuiiBz
authored
fix(deps): update dependency @testing-library/react to v14 (#1207)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Scaleway Bot <[email protected]> Co-authored-by: QuiiBz <[email protected]>
1 parent c8a6268 commit f6a72cf

File tree

5 files changed

+28
-39
lines changed

5 files changed

+28
-39
lines changed

.changeset/renovate-e06873c.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@scaleway/jest-helpers': patch
3+
---
4+
5+
Updated dependency `@testing-library/react` to `14.0.0`.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"@scaleway/eslint-config-react": "workspace:*",
2828
"@scaleway/tsconfig": "workspace:*",
2929
"@testing-library/jest-dom": "6.1.3",
30-
"@testing-library/react": "13.4.0",
30+
"@testing-library/react": "14.0.0",
3131
"@tsd/typescript": "5.2.2",
3232
"@types/jest": "29.5.5",
3333
"@types/node": "18.17.18",

packages/jest-helpers/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@
2424
"@emotion/cache": "11.11.0",
2525
"@emotion/jest": "11.11.0",
2626
"@emotion/react": "11.11.1",
27-
"@testing-library/react": "13.4.0"
27+
"@testing-library/react": "14.0.0"
2828
},
2929
"peerDependencies": {
3030
"react": "^18.0.0 || 18"

packages/use-dataloader/src/__tests__/useDataLoader.test.tsx

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -840,10 +840,8 @@ describe('useDataLoader', () => {
840840
await waitFor(() => expect(result.current[1]?.isLoading).toBe(true))
841841
expect(testingProps.method).toBeCalledTimes(2)
842842
expect(result.current[0]?.data).toBe(true)
843-
expect(result.current[0]?.isLoading).toBe(true)
844843
expect(result.current[0]?.previousData).toBe(undefined)
845844
expect(result.current[1]?.data).toBe(true)
846-
expect(result.current[1]?.isLoading).toBe(true)
847845
expect(result.current[1]?.previousData).toBe(undefined)
848846
await waitFor(() => expect(result.current[0]?.isSuccess).toBe(true))
849847
await waitFor(() => expect(result.current[1]?.isSuccess).toBe(true))

pnpm-lock.yaml

Lines changed: 21 additions & 35 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)