Spy (in testing)

  • Method that is spying on some function (that you need)
    • It is tracking information about:
      • how many times was the function called
      • with what parameters was the function called
      • what was the result of function call
      • etc
Share:

About

My name is Max, also known as @mxkvl.

I am a software developer, currently working mostly with TypeScript, React and Node ecosystems.

I write a blog about topics that interest me most: programming languages in general, TypeScript, testing, writing and other great stuff.

Join the Mailing List