import { defineComponent } from 'vue' import { shallowMount } from '@vue/test-utils' import type { VueWrapper } from '@vue/test-utils' import { beforeEach, describe, expect, it, vi } from 'vitest' import CheckRadioMixin from '@utils/CheckRadioMixin' describe('CheckRadioMixin', () => { HTMLElement.prototype.insertAdjacentElement = vi.fn() const component = defineComponent({ mixins: [CheckRadioMixin], template: '
' }) let wrapper: VueWrapper