chore: cleanup

This commit is contained in:
Anthony Fu 2023-01-30 10:36:39 +01:00
parent a29f52ee1a
commit fbdaf8bbef
3 changed files with 4 additions and 317 deletions

View file

@ -287,15 +287,10 @@ vi.mock('shiki-es', async (importOriginal) => {
}
})
vi.mock('~/components/content/ContentMentionGroup.vue', async () => {
const { defineComponent, h } = await import('vue')
return {
default: defineComponent({
setup(props, { slots }) {
return () => h('mention-group', null, { default: () => slots?.default?.() })
},
}),
}
mockComponent('ContentMentionGroup', {
setup(props, { slots }) {
return () => h('mention-group', null, { default: () => slots?.default?.() })
},
})
mockComponent('AccountHoverWrapper', {