Running this test throws error `TypeError: Cannot read property '0' of undefined`. ``` 20 | 21 | const value = wrapper.emitted("input"); > 22 | expect(value[0]).toBe(true); | ^ 23 | }); 24 | }); 25 | ```
Running this test throws error
TypeError: Cannot read property '0' of undefined.