Skip to content

Commit

Permalink
chore(deps): update dependency @testing-library/jest-dom to v6.1.2 (#406
Browse files Browse the repository at this point in the history
)

Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
  • Loading branch information
renovate[bot] authored Aug 24, 2023
1 parent 275749e commit 0927eb0
Show file tree
Hide file tree
Showing 3 changed files with 19 additions and 21 deletions.
30 changes: 15 additions & 15 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 @@ -94,7 +94,7 @@
"@storybook/react": "7.3.2",
"@storybook/react-vite": "7.3.2",
"@testing-library/dom": "9.3.1",
"@testing-library/jest-dom": "6.0.1",
"@testing-library/jest-dom": "6.1.2",
"@testing-library/react": "14.0.0",
"@types/lodash-es": "4.17.8",
"@types/react": "18.2.21",
Expand Down
8 changes: 3 additions & 5 deletions vitest.setup.ts
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
import matchers from '@testing-library/jest-dom/matchers'
import { cleanup } from '@testing-library/react'
import { afterEach, expect } from 'vitest'
import '@testing-library/jest-dom/vitest'

// Extends Vitest's `expect` method with methods from Testing Library
expect.extend(matchers)
import { cleanup } from '@testing-library/react'
import { afterEach } from 'vitest'

// Runs a cleanup function after each test case
// https://testing-library.com/docs/react-testing-library/api/#cleanup
Expand Down

0 comments on commit 0927eb0

Please sign in to comment.