Commit 0cd029a9 authored by 王玉鑫's avatar 王玉鑫

feat: 删除头部组件单测

parent bcccaa02
import { describe, it, expect } from 'vitest';
import { mount } from '@vue/test-utils';
import CommonHeader from '../CommonHeader.vue';
describe('CommonHeader click', () => {
it('handleClick', () => {
const wrapper = mount<typeof CommonHeader>(CommonHeader, { props: { title: 'test' } });
expect(wrapper.vm.handleClick()).eq('click');
});
});
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment