MCPcopy
hub / github.com/marktext/marktext / getExpectedFailures

Function getExpectedFailures

packages/muya/test/spec/runner.ts:147–149  ·  view source on GitHub ↗
(suite: 'commonmark' | 'gfm')

Source from the content-addressed store, hash-verified

145 = expectedFailuresRaw as IExpectedFailures;
146
147export function getExpectedFailures(suite: 'commonmark' | 'gfm'): Set<number> {
148 return new Set(expectedFailures[suite] ?? []);
149}
150
151/**
152 * Format a failure diagnostic. Used in `expect(...).toBe(...)` assertion

Callers 2

commonmark.spec.tsFile · 0.90
gfm.spec.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected