Created
October 15, 2019 08:11
-
-
Save Kjaer/e78b8c59ec468ef1d767ee90e02fcf33 to your computer and use it in GitHub Desktop.
"Setting up Jest and Enzyme for Typescript Next.js apps" post gists
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
{ | |
"name": "our-cool-nextjs-app", | |
"version": "0.1.0", | |
"dependencies": { | |
"next": "^9.1.1", | |
"react": "^16.10.2", | |
"react-dom": "^16.10.2", | |
"tslib": "^1.10.0" | |
}, | |
"scripts": { | |
"build": "next build", | |
"dev": "next", | |
"test": "jest", | |
"test:watch": "jest --watch", | |
"test:coverage": "jest --coverage" | |
}, | |
"devDependencies": { | |
"@babel/core": "^7.6.4", | |
"@types/enzyme": "^3.10.3", | |
"@types/enzyme-adapter-react-16": "^1.0.5", | |
"@types/jest": "^24.0.18", | |
"@types/node": "^12.7.12", | |
"@types/node-fetch": "^2.5.2", | |
"@types/react": "^16.9.5", | |
"@types/react-dom": "^16.9.1", | |
"enzyme": "^3.10.0", | |
"enzyme-adapter-react-16": "^1.15.1", | |
"enzyme-to-json": "^3.4.2", | |
"jest": "^24.9.0", | |
"react-test-renderer": "^16.10.2", | |
"ts-jest": "^24.1.0", | |
"typescript": "^3.6.3" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment