Const
Asserts that one Set is a superset of another.
expect(new Set([1, 2, 3]), 'to be a superset of', new Set([1, 2])); // passesexpect(new Set([1, 2]), 'to be a superset of', new Set([1, 2, 3])); // fails Copy
expect(new Set([1, 2, 3]), 'to be a superset of', new Set([1, 2])); // passesexpect(new Set([1, 2]), 'to be a superset of', new Set([1, 2, 3])); // fails
set-to-be-a-superset-of-set
collections
Asserts that one Set is a superset of another.