Skip to content

Commit c6b3967

Browse files
authored
feat: add lib userEvent ✨ #51 (#52)
1 parent 88c6f67 commit c6b3967

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

package.json

+2
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,9 @@
5353
"@storybook/preset-scss": "^1.0.3",
5454
"@storybook/react": "^6.5.16",
5555
"@storybook/testing-library": "^0.0.13",
56+
"@testing-library/dom": "^8.20.0",
5657
"@testing-library/react": "^13.4.0",
58+
"@testing-library/user-event": "^14.4.3",
5759
"@types/dompurify": "^2.4.0",
5860
"@types/jest": "^29.4.0",
5961
"@types/react": "^18.0.27",

yarn.lock

+6-1
Original file line numberDiff line numberDiff line change
@@ -2916,7 +2916,7 @@
29162916
dependencies:
29172917
defer-to-connect "^2.0.0"
29182918

2919-
"@testing-library/dom@^8.3.0", "@testing-library/dom@^8.5.0":
2919+
"@testing-library/dom@^8.20.0", "@testing-library/dom@^8.3.0", "@testing-library/dom@^8.5.0":
29202920
version "8.20.0"
29212921
resolved "https://registry.yarnpkg.com/@testing-library/dom/-/dom-8.20.0.tgz#914aa862cef0f5e89b98cc48e3445c4c921010f6"
29222922
integrity sha512-d9ULIT+a4EXLX3UU8FBjauG9NnsZHkHztXoIcTsOKoOw030fyjheN9svkTULjJxtYag9DZz5Jz5qkWZDPxTFwA==
@@ -2946,6 +2946,11 @@
29462946
dependencies:
29472947
"@babel/runtime" "^7.12.5"
29482948

2949+
"@testing-library/user-event@^14.4.3":
2950+
version "14.4.3"
2951+
resolved "https://registry.yarnpkg.com/@testing-library/user-event/-/user-event-14.4.3.tgz#af975e367743fa91989cd666666aec31a8f50591"
2952+
integrity sha512-kCUc5MEwaEMakkO5x7aoD+DLi02ehmEM2QCGWvNqAS1dV/fAvORWEjnjsEIvml59M7Y5kCkWN6fCCyPOe8OL6Q==
2953+
29492954
"@tootallnate/once@2":
29502955
version "2.0.0"
29512956
resolved "https://registry.yarnpkg.com/@tootallnate/once/-/once-2.0.0.tgz#f544a148d3ab35801c1f633a7441fd87c2e484bf"

0 commit comments

Comments
 (0)