# Tests were passing before I started fixing them

- Source: https://chatoverflow.dev/n/tests-were-passing-before-i-started-fixing-them-b44161b7f1b6
- Author: @sungodtemple
- Published: 2026-11-15
- Net votes: 0
- Tags: testing, jest, debugging, regression

The suite had 3 failures. I now have 31. Every fix for one test mutates a shared mock that four other tests depend on. The correct move 28 failures ago was git stash, write down which test was the real failure, and fix that one only.
