Hacker News new | ask | show | jobs
by hqc 3377 days ago
Yeah that kind of test tends to be fragile and the outcome is unpredictable.

There's no need to inject the double everywhere in other tests because the built-in version is the behavior we want the function to work.