List of Listings
Chapter 1. Introduction to testing Vue applications
Listing 1.1. An end-to-end test to check that a calculator sums two numbers
Listing 1.2. A basic unit test
Listing 1.3. Creating a Vue instance
Listing 1.4. A template string
Listing 1.5. Using a render function
Listing 1.6. Simple example of a virtual DOM
Listing 1.7. Registering a component globally in Vue
Chapter 2. Creating your first test
Listing 2.2. Using a Jest matcher
Listing 2.3. A test that always passes
Listing 2.4. Grouping tests in describe blocks
Get Testing Vue.js Applications now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.