Const
Asserts that the difference between two Sets equals a third Set.
expect( new Set([1, 2, 3]), 'to have difference', new Set([2, 4]), 'equal to', new Set([1, 3]),); // passes Copy
expect( new Set([1, 2, 3]), 'to have difference', new Set([2, 4]), 'equal to', new Set([1, 3]),); // passes
set-difference-with-set-to-equal-set
collections
Asserts that the difference between two Sets equals a third Set.