testing/cross_backend/xfail.ts view source
(tracking_id: string, reason: string, name: string, fn: () => void | Promise<void>): void import {xfail_until} from '@fuzdev/fuz_app/testing/cross_backend/xfail.js'; Register fn as an expected-failure test. Passes while fn throws /
rejects; fails once fn succeeds (signalling the gap closed and the
marker should be removed).
tracking_id
descriptive id of the tracked gap (e.g.
'audit-log-sse-rust-spine') — a feature/behavior name, not a
process/milestone label.
stringreason
why the case is deferred-by-design.
stringname
the assertion / test label.
stringfn
the test body (expected to throw/reject until the gap closes).
() => void | Promise<void>returns
void