Skip to content

Latest commit

Β 

History

History
15 lines (10 loc) Β· 268 Bytes

isEmpty.md

File metadata and controls

15 lines (10 loc) Β· 268 Bytes

isEmpty()

Wrapper γŒε­γƒŽγƒΌγƒ‰γ‚’ε«γ‚“γ§γ„γͺγ„γ‹ζ€œθ¨Όγ—γΎγ™γ€‚

  • ζˆ»γ‚Šε€€: {boolean}

  • δΎ‹:

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

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