travel/admin/node_modules/jest-serializer-vue/test/Empty.spec.js

15 lines
406 B
JavaScript

import { mount, shallow } from '@vue/test-utils'
import Empty from './components/Empty.vue'
describe('Empty.vue', () => {
it('properly serializes a shallowly-rendered wrapper', () => {
const wrapper = shallow(Empty)
expect(wrapper).toMatchSnapshot()
})
it('properly serializes a fully-mounted wrapper', () => {
const wrapper = mount(Empty)
expect(wrapper).toMatchSnapshot()
})
})