paritytech / polkassembly

Polkassembly now has a new home:
https://github.com/Premiurly/polkassembly
Apache License 2.0
29 stars 37 forks source link

Create snapshot testing for UI components #150

Open niklabh opened 4 years ago

niklabh commented 4 years ago

Snapshot testing is explained here: https://jestjs.io/docs/en/snapshot-testing

Tbaut commented 4 years ago

This article is quite extensive with Enzyme (for react) and Jest: https://medium.com/codeclan/testing-react-with-jest-and-enzyme-20505fec4675