Posts filed under 'testing'
- Testing with TypeScript, React, and Enzyme Enzyme is a popular, TypeScript-friendly alternative to React's own test facilities
- Testing TypeScript with Jest Even with TypeScript in the mix, Jest makes testing React applications a snap.
- Testing API requests from window.fetch `window.fetch` offers a clean API for server-side requests that encourages flexible, portable high-level tests.
- Testing API requests with XHR and sinon.js Testing API behaviors via the XHR object and sinon's fakeServer encourages modularity and enables portable, straightforward specifications.