about summary refs log tree commit diff
path: root/tests/pages/index.test.js
blob: 1e262b3b3415d4ffd693570462c6979821401d57 (plain)
1
2
3
4
5
6
7
8
9
10
11
import { shallowMount } from '@vue/test-utils'
import index from '../../pages/index'

describe('index', () => {
  // Now mount the component and you have the wrapper
  const wrapper = shallowMount(index)

  it('match snapshot', () => {
    expect(wrapper.element).toMatchSnapshot()
  })
})