Amy Blankenship
1 min readNov 8, 2019

--

Often the test doesn’t depend on specific data. And when it doesn’t, it can be good to share that same hard-coded data set so you don’t miss things like someone’s mutating it in the code that shouldn’t be (because it’s not in the right state for the next test).

--

--

Amy Blankenship
Amy Blankenship

Written by Amy Blankenship

Full Stack developer at fintech company. I mainly write about React, Javascript, Typescript, and testing.

Responses (1)