ConformanceRunner
The two functions a conformance suite needs from a test runner. Vitest,
Jest, Mocha and node:test all supply them under these names, so a suite
is registered by passing { describe, it }.
import type { ConformanceRunner } from '@threadplane/core/testing';Declaration
export interface ConformanceRunner {
describe(name: string, body: () => void): void;
it(name: string, body: () => void | Promise<void>): void;
}Members
describe · overload 1
describe(name: string, body: () => void): void;Parameters
name· requiredstringbody· required() => void
Returns
voidit · overload 1
it(name: string, body: () => void | Promise<void>): void;Parameters
name· requiredstringbody· required() => void | Promise<void>
Returns
void