Const
Asserts that an iterable yields at most the specified count of values.
expect([1, 2], 'to yield at most', 3); // passesexpect([1, 2, 3, 4], 'to yield at most', 3); // fails Copy
expect([1, 2], 'to yield at most', 3); // passesexpect([1, 2, 3, 4], 'to yield at most', 3); // fails
iterable-to-yield-at-most-number
iterable
Asserts that an iterable yields at most the specified count of values.