import { ScanView } from '@3cr/types-ts'; import { mount } from '@vue/test-utils'; import ViewerActionRail from '@/components/modal/ViewerActionRail.vue'; describe('ViewerActionRail tests', () => { it('should mount', () => { const props = { view: ScanView.Volume, element: document.body }; const wrapper = mount(ViewerActionRail, { props }); expect(wrapper).toBeTruthy(); }); });