Skip to content

Commit

Permalink
chore: skip markdown tests for now
Browse files Browse the repository at this point in the history
  • Loading branch information
antfu committed Aug 30, 2024
1 parent e4f70ec commit 5a174f1
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion packages/shiki/test/engine-js/compare.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,7 @@ function createWasmOnigLibWrapper(): RegexEngine & { instances: Instance[] } {

export interface Cases {
name: string
skip?: boolean
theme: () => Promise<{ default: ThemeRegistration }>
lang: () => Promise<{ default: LanguageRegistration[] }>
cases: string[]
Expand Down Expand Up @@ -116,6 +117,7 @@ const cases: Cases[] = [
],
},
{
skip: true,
name: 'markdown',
theme: () => import('../../src/assets/themes/nord'),
lang: () => import('../../src/assets/langs/markdown'),
Expand Down Expand Up @@ -154,7 +156,8 @@ describe('cases', async () => {
}))

for (const c of resolved) {
it(c.c.name, async () => {
const run = c.c.skip ? it.skip : it
run(c.c.name, async () => {
const engineWasm = createWasmOnigLibWrapper()
const engineJs = createJavaScriptRegexEngine()

Expand Down

0 comments on commit 5a174f1

Please sign in to comment.