assertthat
Version:
assertthat provides fluent TDD.
10 lines (9 loc) • 351 B
TypeScript
interface SetAssertions<TContent> {
containing: (item: TContent) => void;
containingAllOf: (iterable: Iterable<TContent>) => void;
containingAnyOf: (iterable: Iterable<TContent>) => void;
atLeast: (expected: Set<TContent>) => void;
atMost: (expected: Set<TContent>) => void;
empty: () => void;
}
export type { SetAssertions };