TestAnnotation
Other
Signature
declare function compose<A>(
left: Either<Chunk<A>, number>,
right: Either<Chunk<A>, number>,
): Either<Chunk<A>, number>;Signature
declare const fibers: TestAnnotation<
Either.Either<
Chunk.Chunk<MutableRef.MutableRef<SortedSet.SortedSet<Fiber.RuntimeFiber<unknown, unknown>>>>,
number
>
>;Signature
declare const ignored: TestAnnotation<number>;isTestAnnotation
Added in v2.0.0
Source
Signature
declare function isTestAnnotation(u: unknown): u is TestAnnotation<unknown>;Signature
declare function make<A>(
identifier: string,
initial: A,
combine: (a: A, b: A) => A,
): TestAnnotation<A>;An annotation which counts repeated tests.
Signature
declare const repeated: TestAnnotation<number>;An annotation which counts retried tests.
Signature
declare const retried: TestAnnotation<number>;An annotation which tags tests with strings.
Signature
declare const tagged: TestAnnotation<HashSet.HashSet<string>>;TestAnnotation interface
Added in v2.0.0
Source
Signature
interface TestAnnotation<in out A> extends Equal {
readonly [TestAnnotationTypeId]: {
readonly _A: Invariant<A>;
};
readonly identifier: string;
readonly initial: A;
combine(a: A, b: A): A;
}TestAnnotationTypeId
Added in v2.0.0
Source
Signature
declare const TestAnnotationTypeId: unique symbol;TestAnnotationTypeId type
Added in v2.0.0
Source
Signature
type TestAnnotationTypeId = typeof TestAnnotationTypeId;
An annotation which counts ignored tests.