UNPKG

bootstrap-vue

Version:

BootstrapVue provides one of the most comprehensive implementations of Bootstrap 4 components and grid system for Vue.js and with extensive and automated WAI-ARIA accessibility markup.

19 lines (13 loc) 483 B
import { loadFixture, testVM } from '../../../tests/utils' describe('button-toolbar', async () => { beforeEach(loadFixture(__dirname, 'button-toolbar')) testVM() it('toolbar should contain base class', async () => { const { app: { $refs } } = window expect($refs.toolbar).toHaveClass('btn-toolbar') }) it('toolbar should have role', async () => { const { app: { $refs } } = window expect($refs.toolbar.$el.getAttribute('role')).toBe('toolbar') }) })