January 2019
Intermediate to advanced
272 pages
7h 40m
English
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
Read now
Unlock full access