chai expect array without order

JavaScript
expect([2, 1, 3].sort()).to.eql([3, 1, 2].sort())
Source

Also in JavaScript: