Skip to content

Files

This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Latest commit

9b35b06 · Mar 16, 2018

History

History
15 lines (10 loc) · 271 Bytes

isVueInstance.md

File metadata and controls

15 lines (10 loc) · 271 Bytes

isVueInstance()

Asserte que Wrapper contient une instance de Vue.

  • Retourne : {boolean}

  • Exemple :

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

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