diff --git a/packages/ui/.vitest/setup.ts b/packages/ui/.vitest/setup.ts index bb02c60cd..51b3bd20a 100644 --- a/packages/ui/.vitest/setup.ts +++ b/packages/ui/.vitest/setup.ts @@ -1 +1,4 @@ +// https://github.com/testing-library/jest-dom/issues/515 +/// + import '@testing-library/jest-dom/vitest'; diff --git a/packages/ui/package.json b/packages/ui/package.json index 4441e5588..d9eb38541 100644 --- a/packages/ui/package.json +++ b/packages/ui/package.json @@ -67,7 +67,7 @@ "@kyaku/eslint-config": "*", "@kyaku/prettier-config": "*", "@kyaku/tsconfig": "*", - "@testing-library/jest-dom": "^6.5.0", + "@testing-library/jest-dom": "^6.6.2", "@testing-library/react": "^16.0.1", "@types/react": "^18.3.12", "@types/react-dom": "^18.3.1", diff --git a/yarn.lock b/yarn.lock index 27e07ae3f..14453a378 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2944,7 +2944,7 @@ __metadata: "@radix-ui/react-slot": "npm:^1.1.0" "@radix-ui/react-switch": "npm:^1.1.1" "@radix-ui/react-tooltip": "npm:^1.1.3" - "@testing-library/jest-dom": "npm:^6.5.0" + "@testing-library/jest-dom": "npm:^6.6.2" "@testing-library/react": "npm:^16.0.1" "@types/react": "npm:^18.3.12" "@types/react-dom": "npm:^18.3.1" @@ -5712,7 +5712,7 @@ __metadata: languageName: node linkType: hard -"@testing-library/jest-dom@npm:^6.5.0": +"@testing-library/jest-dom@npm:^6.5.0, @testing-library/jest-dom@npm:^6.6.2": version: 6.6.2 resolution: "@testing-library/jest-dom@npm:6.6.2" dependencies: