Type alias Tests<Value>

Tests<Value>: AsynchronousIterable<Test<Value>>

Iterable of Test.

Example

const tests: Tests<number> = [
{
given: "a number",
must: "make it double",
received: () => double(2),
wanted: () => 4,
}
];

Type Parameters

  • Value = unknown