nicolas restrepo
javascript developer
Cruisebound.
# CHAPTER 1
The practice of testing a single piece of code—usually a component or a hook—in complete isolation from the rest of the application.
props and user actions, without relying on other components.# CHAPTER 2
isLoading prop is true?onClick prop?title prop?# CHAPTER 2
A method where several components are rendered together to verify their interactions and data flow, simulating a real piece of your application's UI.
props, context, or shared state (e.g., Redux/Zustand).A modern and ultra-fast test runner.
describe, it) and check if the outcome is what you expect (expect).A utility library for testing React components the way a user would.
By nicolas restrepo