FunctionalSFCParent.spec.js 275 B

1234567
  1. import { mount } from 'vue-test-utils'
  2. import FunctionalSFCParent from './resources/FunctionalSFCParent.vue'
  3. test('processes .vue file with functional template from parent', () => {
  4. const wrapper = mount(FunctionalSFCParent)
  5. expect(wrapper.text().trim()).toBe('foo')
  6. })