Skip to content

Commit 5023894

Browse files
Correct tests
1 parent b941cce commit 5023894

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tests/smoke.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -424,7 +424,7 @@ function testKMeansFallsBackToMeanWhenWasmThrows() {
424424
10, 20, 30, 255,
425425
30, 40, 50, 255,
426426
]);
427-
assert.deepStrictEqual(api.couleurImageKMeans(pixels, 2, 1, 96), [20, 30, 40]);
427+
assert.deepStrictEqual(Array.from(api.couleurImageKMeans(pixels, 2, 1, 96)), [20, 30, 40]);
428428
}
429429

430430
async function run() {

0 commit comments

Comments
 (0)