ribs_test_rill library
Test matchers for ribs_rill streams.
Provides producesError, producesInOrder, producesNothing, producesOnly, producesSameAs, and producesUnordered matchers.
Functions
-
producesError(
[Object? matcher]) → Matcher -
Matches a
Rillthat fails with an error satisfyingmatcher. -
producesInOrder(
Object expected) → Matcher -
Matches a
Rillthat emits elements in the exact order given byexpected. -
producesNothing(
) → Matcher -
Matches a
Rillthat succeeds without emitting any elements. -
producesOnly<
A> (A a) → Matcher -
Matches a
Rillthat emits exactly the single elementa. -
producesSameAs<
A> (Rill< A> expected) → Matcher -
Matches a
Rillthat produces the same outcome (success, error, or cancelation) and the same elements asexpected. -
producesUnordered(
Object expected) → Matcher -
Matches a
Rillthat emits the same elements asexpectedin any order.