Skip to content

Commit ce3a94a

Browse files
add RTL userEvent and dom
1 parent e56d17b commit ce3a94a

File tree

2 files changed

+29
-6
lines changed

2 files changed

+29
-6
lines changed

package.json

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -182,8 +182,10 @@
182182
},
183183
"devDependencies": {
184184
"@babel/eslint-parser": "^7.24.7",
185+
"@testing-library/dom": "^10.4.0",
185186
"@testing-library/jest-dom": "^6.5.0",
186187
"@testing-library/react": "^12.1.5",
188+
"@testing-library/user-event": "^12.1.5",
187189
"babel-jest": "^29.3.1",
188190
"babel-preset-es2017": "^6.24.1",
189191
"cypress": "^13.11.0",

yarn.lock

Lines changed: 27 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5056,6 +5056,20 @@
50565056
"@svgr/plugin-svgo" "^5.5.0"
50575057
loader-utils "^2.0.0"
50585058

5059+
"@testing-library/dom@^10.4.0":
5060+
version "10.4.0"
5061+
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-10.4.0.tgz#82a9d9462f11d240ecadbf406607c6ceeeff43a8"
5062+
integrity sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ==
5063+
dependencies:
5064+
"@babel/code-frame" "^7.10.4"
5065+
"@babel/runtime" "^7.12.5"
5066+
"@types/aria-query" "^5.0.1"
5067+
aria-query "5.3.0"
5068+
chalk "^4.1.0"
5069+
dom-accessibility-api "^0.5.9"
5070+
lz-string "^1.5.0"
5071+
pretty-format "^27.0.2"
5072+
50595073
"@testing-library/dom@^8.0.0":
50605074
version "8.20.1"
50615075
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.20.1.tgz#2e52a32e46fc88369eef7eef634ac2a192decd9f"
@@ -5092,6 +5106,13 @@
50925106
"@testing-library/dom" "^8.0.0"
50935107
"@types/react-dom" "<18.0.0"
50945108

5109+
"@testing-library/user-event@^12.1.5":
5110+
version "12.8.3"
5111+
resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-12.8.3.tgz#1aa3ed4b9f79340a1e1836bc7f57c501e838704a"
5112+
integrity sha512-IR0iWbFkgd56Bu5ZI/ej8yQwrkCv8Qydx6RzwbKz9faXazR/+5tvYKsZQgyXJiwgpcva127YO6JcWy7YlCfofQ==
5113+
dependencies:
5114+
"@babel/runtime" "^7.12.5"
5115+
50955116
"@tootallnate/once@1":
50965117
version "1.1.2"
50975118
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-1.1.2.tgz#ccb91445360179a04e7fe6aff78c00ffc1eeaf82"
@@ -6199,18 +6220,18 @@ [email protected], aria-query@~5.1.3:
61996220
dependencies:
62006221
deep-equal "^2.0.5"
62016222

6202-
aria-query@^5.0.0:
6203-
version "5.3.2"
6204-
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.2.tgz#93f81a43480e33a338f19163a3d10a50c01dcd59"
6205-
integrity sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==
6206-
6207-
aria-query@^5.3.0:
6223+
[email protected], aria-query@^5.3.0:
62086224
version "5.3.0"
62096225
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.0.tgz#650c569e41ad90b51b3d7df5e5eed1c7549c103e"
62106226
integrity sha512-b0P0sZPKtyu8HkeRAfCq0IfURZK+SuwMjY1UXGBU27wpAiTwQAIlq56IbIO+ytk/JjS1fMR14ee5WBBfKi5J6A==
62116227
dependencies:
62126228
dequal "^2.0.3"
62136229

6230+
aria-query@^5.0.0:
6231+
version "5.3.2"
6232+
resolved "https://registry.yarnpkg.com/aria-query/-/aria-query-5.3.2.tgz#93f81a43480e33a338f19163a3d10a50c01dcd59"
6233+
integrity sha512-COROpnaoap1E2F000S62r6A60uHZnmlvomhfyT2DlTcrY1OrBKn2UhH7qn5wTC9zMvD0AY7csdPSNwKP+7WiQw==
6234+
62146235
arr-diff@^4.0.0:
62156236
version "4.0.0"
62166237
resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520"

0 commit comments

Comments
 (0)