We have just released Fishery, a TypeScript-compatible library for setting up JavaScript objects for use in tests and anywhere else you need to set up data.
We can always make our test suite more DRY. But should we?
Why Discriminated Union Types are an important part of modeling solutions with TypeScript.
Mocking in Jest can be tricky. Mocking React Components in Jest with ES modules can be even tricker. Yet, it’s still possible.
Utilize the power of Typescript to model your React application’s state and context with confidence.
Pointers for doing TDD with React using Apollo and TypeScript.