import { mount } from '@vue/test-utils' import Legend from '@/components/Legend.vue' describe('Legend', () => { test('is a Vue instance', () => { const wrapper = mount(Legend); expect(wrapper.vm).toBeTruthy() }) })