Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
.then(res => {
const propertyClaims = res.entity.claims[propertyId].slice(-3)
const simplifiedPropertyClaims = simplify.propertyClaims(propertyClaims, { keepRanks: true, keepNonTruthy: true })
simplifiedPropertyClaims.should.deepEqual(claims[propertyId])
done()
})
})