Open Luxcium opened 3 years ago
I am unable to pass my own tests ... I changed the value to reflect the erroneous result then I changed my code and ended up getting the expected result but the test failed because I imputed the other value (the erroneous one)
I would have the same expectation for the short version:
console.log(
"chroma('#f058').hex() === '#ff005588'",
chroma('#f058').hex() === '#ff005588',
chroma('#f058').hex()
// chroma('#f058').hex() === '#f058' false #ff005587
);
When I am trying to test my application and I try to pass some value... I can't not get expected value: «
chroma('FFBBCCDD').hex('rgba') -> #ffbbccde
» or even with «chroma('#ff055088').hex() === '#ff055088' false #ff055087
»