Skip to content

Commit

Permalink
feat(react-sample-lib): setup testing-library
Browse files Browse the repository at this point in the history
  • Loading branch information
cahnory committed Nov 5, 2023
1 parent b3141e1 commit e68fe5f
Show file tree
Hide file tree
Showing 3 changed files with 432 additions and 9 deletions.
3 changes: 3 additions & 0 deletions libs/react-sample/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -32,13 +32,16 @@
"devDependencies": {
"@japa/expect": "3.0.0-1",
"@japa/runner": "3.0.0-9",
"@testing-library/react": "^14.0.0",
"@types/node": "^20.8.10",
"@types/react": "^18.2.28",
"@types/react-dom": "^18.2.13",
"@vanilla-extract/css": "^1.13.0",
"c8": "^8.0.1",
"concurrently": "^8.2.2",
"eslint": "^8.52.0",
"global-jsdom": "^9.1.0",
"jsdom": "^22.1.0",
"prettier": "^3.0.3",
"rimraf": "^5.0.5",
"tsx": "^3.14.0",
Expand Down
1 change: 1 addition & 0 deletions libs/react-sample/type.d.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
declare module "global-jsdom/register";
Loading

0 comments on commit e68fe5f

Please sign in to comment.