You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
406 B
15 lines
406 B
3 years ago
|
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()
|
||
|
})
|
||
|
})
|