Const
Asserts that two Sets are disjoint (have no common elements).
expect(new Set([1, 2]), 'to be disjoint from', new Set([3, 4])); // passesexpect(new Set([1, 2]), 'to be disjoint from', new Set([2, 3])); // fails Copy
expect(new Set([1, 2]), 'to be disjoint from', new Set([3, 4])); // passesexpect(new Set([1, 2]), 'to be disjoint from', new Set([2, 3])); // fails
set-to-be-disjoint-from-set
collections
Asserts that two Sets are disjoint (have no common elements).