We do both, sometimes within the same test file. There's probably 3rd pattern too. This is annoying and ugly. We should do better. I think we should probably make use of `spyOn` - it feels a bit easier to work with.
We do both, sometimes within the same test file. There's probably 3rd pattern too. This is annoying and ugly. We should do better.
I think we should probably make use of
spyOn- it feels a bit easier to work with.