โ˜… Testing a Vue component part 4: more testing and faking time

1 ยท Freek Van der Herten ยท May 17, 2017, 2:15 p.m.
Welcome to part 4 of a series on how to test a Vue component. Here's the table of contents of the series: Starting out with tests The first test and snapshot testing Creating an instance of a component More tests and faking time (you're here) Jest awesomeness and a skeleton to get started More tests and faking time More tests If you navigate to http://vue-tabs-component.spatie.be/#second-tab you'll notice that the tab named Second tab is automatically opened. Let's take a look at the test that...