I bet the tests relied on it too much 😅 better do this than waste a whole day.
How do you suspect the test would change at all with a private function like that? Even if you mocked everything, deleting that function wouldn't change the tests. The string goes into the function and is returned by the function.
View all comments
Show parent comment
2
u/tedbradly May 04 '23
How do you suspect the test would change at all with a private function like that? Even if you mocked everything, deleting that function wouldn't change the tests. The string goes into the function and is returned by the function.