Const
Asserts that a collection (Map or Set) has a size greater than a threshold.
expect(new Set([1, 2, 3]), 'to have size greater than', 2); // passesexpect(new Set([1]), 'to have size greater than', 2); // fails Copy
expect(new Set([1, 2, 3]), 'to have size greater than', 2); // passesexpect(new Set([1]), 'to have size greater than', 2); // fails
collection-to-have-size-greater-than-nonnegative-integer
collections
Asserts that a collection (Map or Set) has a size greater than a threshold.