Vue Test Utils Expression produces a union type that is too complex to represent

Viewed 187

I create a very simple test using shallowMount from @vue/test-utils in typescript and it show me a warning sounds Expression produces a union type that is too complex to represent. (Look Image). Have no idea what is it?

import { shallowMount } from '@vue/test-utils'
import Login from '@/views/Account/Login.vue'

describe('Login Page Test', () => {
    it('renders input for email', () => {
        const wrapper = shallowMount(Login)
        expect(wrapper.find("input"))
    })
})

Warning Capture warning

0 Answers
Related