-
- Downloads
added snapshot and component tests
Showing
- package.json 19 additions, 1 deletionpackage.json
- src/App.tsx 1 addition, 2 deletionssrc/App.tsx
- src/test/__snapshots__/snapshot.test.tsx.snap 255 additions, 0 deletionssrc/test/__snapshots__/snapshot.test.tsx.snap
- src/test/component.test.tsx 17 additions, 0 deletionssrc/test/component.test.tsx
- src/test/snapshot.test.tsx 43 additions, 0 deletionssrc/test/snapshot.test.tsx
- yarn.lock 11750 additions, 10908 deletionsyarn.lock
... | @@ -63,6 +63,24 @@ | ... | @@ -63,6 +63,24 @@ |
] | ] | ||
}, | }, | ||
"devDependencies": { | "devDependencies": { | ||
"@types/react-router-dom": "^5.1.9" | "@types/enzyme": "^3.10.9", | ||
"@types/enzyme-adapter-react-16": "^1.0.6", | |||
"@types/react-router-dom": "^5.1.9", | |||
"enzyme": "^3.11.0", | |||
"enzyme-adapter-react-16": "^1.15.6", | |||
"enzyme-to-json": "^3.6.2", | |||
"react-test-renderer": "^17.0.2" | |||
}, | |||
"jest": { | |||
"snapshotSerializers": [ | |||
"enzyme-to-json/serializer" | |||
], | |||
"collectCoverageFrom": [ | |||
"src/**/*.js", | |||
"!src/index.js" | |||
], | |||
"coverageReporters": [ | |||
"text" | |||
] | |||
} | } | ||
} | } |
src/test/component.test.tsx
0 → 100644
src/test/snapshot.test.tsx
0 → 100644
Source diff could not be displayed: it is too large. Options to address this: view the blob.
Please register or sign in to comment