Explain the concept of stub in Node.js.

In Node.js, stubs are basically the programs or functions that are used for stimulating the module or component behavior. During any test cases, stubs provide the canned answers of the functions.

Comments

Popular posts from this blog

Which node logger did you use in your project?

What test framework did you use to test your nodejs applications