Skip to content

Commit 26291b6

Browse files
committed
Add types for jest and enzyme
1 parent cde2803 commit 26291b6

File tree

2 files changed

+317
-16
lines changed

2 files changed

+317
-16
lines changed

package.json

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,13 +6,17 @@
66
"@testing-library/jest-dom": "^4.2.4",
77
"@testing-library/react": "^9.3.2",
88
"@testing-library/user-event": "^7.1.2",
9-
"@types/jest": "^24.0.0",
9+
"@types/enzyme": "^3.10.4",
10+
"@types/enzyme-adapter-react-16": "^1.0.5",
11+
"@types/jest": "^24.9.0",
1012
"@types/node": "^12.0.0",
1113
"@types/react": "^16.9.0",
1214
"@types/react-dom": "^16.9.0",
1315
"@types/react-router-dom": "^5.1.3",
1416
"@typescript-eslint/eslint-plugin": "^2.16.0",
1517
"@typescript-eslint/parser": "^2.16.0",
18+
"enzyme": "^3.11.0",
19+
"enzyme-adapter-react-16": "^1.15.2",
1620
"eslint": "^6.8.0",
1721
"eslint-config-airbnb-typescript": "^6.3.1",
1822
"eslint-config-prettier": "^6.9.0",

0 commit comments

Comments
 (0)