chore: fix typos in 'spec/' folder (and one in 'lib/' folder) (#43432)

Co-authored-by: trop[bot] <37223003+trop[bot]@users.noreply.github.com>
Co-authored-by: Alexander Cyon <alex.cyon@gmail.com>
This commit is contained in:
trop[bot] 2024-08-22 12:30:24 -05:00 committed by GitHub
parent 150d332f10
commit e08be7d8ce
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
6 changed files with 10 additions and 10 deletions

View file

@ -50,7 +50,7 @@ function getPixelColor (
return `#${formatHexByte(r)}${formatHexByte(g)}${formatHexByte(b)}`;
}
/** Calculate euclidian distance between colors. */
/** Calculate euclidean distance between colors. */
function colorDistance (hexColorA: string, hexColorB: string): number {
const colorA = hexToRgba(hexColorA);
const colorB = hexToRgba(hexColorB);