import { describe, expect, test } from 'vitest'; import { mount } from '@vue/test-utils'; import { ref } from 'vue'; import Audio from '../src/audio.vue'; // import type { VNode } from 'vue'; // const _mount = (render: () => VNode) => { // return mount(render, { attachTo: document.body }) // } describe('Audio.vue', () => { // test('render test', async () => { // const AudioSrc = ''; // const wrapper = mount(() => ); // await nextTick(); // }); test('play', async () => { const radio = ref(''); const wrapper = mount(() =>