Unit Testing redux-persist migrations with Typescript
redux-persist allows you to specify a migration path between versions, but how can you do that in a strongly-typed way through Typescript?
Readredux-persist allows you to specify a migration path between versions, but how can you do that in a strongly-typed way through Typescript?
ReadLet’s talk about routing. If you’ve ever developed a web application then you know the hassle you have with the constant “Resource not found” or “Multiple actions match the request” errors. What if I told you you could fix all this without ever having to open a browser? That’s right: we’ll unit test our routes! As an added bonus I’ll also show how you can unit test parameter validation since that’s probably one of the most important things to do when creating a (public) API.
Read