Learn Vue JS course Learn Javascript and Vue JS Learn VueJS course Learn VueJS Tutorial
Learn Vue.js with Vue School #1 SOURCE OF VUE.JS KNOWLEDGE

JavaScript Testing Fundamentals

What are stubs?

In this lesson, we're learning what stubs are when it comes to JavaScript testing.

Stubs are similar to mocks, but they only replace small parts of your code compared to Mocks who replace the entire dependency.