schlechtenburg/packages/layout/__tests__/layout.test.ts

17 lines
557 B
TypeScript
Raw Normal View History

2024-10-09 13:38:26 +00:00
import { describe, expect, it } from 'vitest'
import { mount } from '@vue/test-utils';
import SbLayoutEdit from '../lib/edit';
import SbLayoutView from '../lib/view';
2020-12-30 13:34:23 +00:00
describe('@schlechtenburg/layout', () => {
2024-10-09 13:38:26 +00:00
it('edit should render', () => {
const edit = mount(SbLayoutEdit);
expect(edit.find('div.sb-layout').element).toBeTruthy();
expect(edit.find('div.sb-toolbar').element).toBeTruthy();
});
it('view should render', () => {
const edit = mount(SbLayoutView);
expect(edit.find('div.sb-layout').element).toBeTruthy();
});
2020-12-30 13:34:23 +00:00
});