Rapid Testing with Vitest
Plans from $25/month

This lesson is for members. Join us?

Subscribe now to get instant access to this course, plus a full library of Vue.js courses tailored to the plan you choose.

Handle and Test a Shallow Merge

Writing our deep merge function starts with supporting a shallow merge. In this lesson, use TDD to shallow merge both objects and arrays.