refactor: migrate from shiki to shikiji (#2520)
This commit is contained in:
parent
e63473a5f8
commit
74138a9a58
17 changed files with 124 additions and 223 deletions
|
@ -279,14 +279,6 @@ vi.mock('vue-router', async () => {
|
|||
}
|
||||
})
|
||||
|
||||
vi.mock('shiki-es', async (importOriginal) => {
|
||||
const mod = await importOriginal()
|
||||
return {
|
||||
...(mod as any),
|
||||
setCDN() {},
|
||||
}
|
||||
})
|
||||
|
||||
mockComponent('ContentMentionGroup', {
|
||||
setup(props, { slots }) {
|
||||
return () => h('mention-group', null, { default: () => slots?.default?.() })
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue