buefy
Version:
Lightweight UI components for Vue.js based on Bulma
11 lines (9 loc) • 342 B
JavaScript
import { shallowMount } from '@vue/test-utils'
import BPagination from '@components/pagination/Pagination'
describe('BPagination', () => {
it('is called', () => {
const wrapper = shallowMount(BPagination)
expect(wrapper.name()).toBe('BPagination')
expect(wrapper.isVueInstance()).toBeTruthy()
})
})