expect(validStatusSet).to.deep.eq(foundStatus) code example Example: chai expect to be type array expect([1, 2]).to.be.an('array');