Object that describes a test result (given, must and differences).
const testResult: TestResult<string> = { given: "🟢", must: "🟩", differences: [ { kind: "E", path: ["🟢", "🟩"], lhs: "🟢", rhs: "🟩", } ],}; Copy
const testResult: TestResult<string> = { given: "🟢", must: "🟩", differences: [ { kind: "E", path: ["🟢", "🟩"], lhs: "🟢", rhs: "🟩", } ],};
Type of value being tested.
Object that describes a test result (given, must and differences).
Example
See