Back to Sinon

sinon.match.set

docs/concepts/matchers/api/set.md

22.1.0307 B
Original Source

sinon.match.set

Requires the value to be a Set.

sinon.match.set.deepEquals(set)

Requires a Set to be deep equal another one.

sinon.match.set.contains(set)

Requires a Set to contain each one of the items the given set has.

<<< ../../../.vitepress/tests/docs/matchers/api/set.test.js