Skip to content

Latest commit

 

History

History
19 lines (13 loc) · 333 Bytes

isVueInstance.md

File metadata and controls

19 lines (13 loc) · 333 Bytes

isVueInstance

::: warning isVueInstance is deprecated and will be removed in future releases. :::

Assert Wrapper is Vue instance.

  • Returns: {boolean}

  • Example:

import { mount } from '@vue/test-utils'
import Foo from './Foo.vue'

const wrapper = mount(Foo)
expect(wrapper.isVueInstance()).toBe(true)