MCPcopy Create free account
hub / github.com/vuejs/test-utils / Foo

Class Foo

tests/features/classComponent.spec.ts:10–14  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

8describe('class component', () => {
9 it('minimal class component', () => {
10 class Foo extends Vue {
11 render() {
12 return h('span')
13 }
14 }
15 const wrapper = mount(Foo)
16 expect(wrapper.find('span').exists()).toBe(true)
17 })

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected