import { shallowMount } from '@vue/test-utils'; import App from '@/App.vue'; import { demoPayload } from '@/components/demo/demo-payload'; describe('App.vue', () => { it('should inflate component', () => { const wrapper = shallowMount(App); expect(wrapper).toBeTruthy(); }); it('should loadScan', async () => { const wrapper = shallowMount(App); await wrapper.vm.loadViewer(demoPayload, {}); expect(wrapper).toBeTruthy(); }); });