Elyses Transformative Enchantments Test Error

in the exercise Elyses Transformative Enchantments I keep getting the same error in the tests for the reorder function (Task 6) no matter what I do. I even tried setting the function as
export function reorder(deck) {
return -1
}
and still all tests pass until Test 21 and the returned values is an array

this was done in the browser editor

Reorder is task 7. Task 6 is perfectlyOrdered(). I can see that a perfectly ordered array is expected and your solution seems to sort wrong there. Your 10 is after 1 and before 2 (indicated by + in front of it) instead of the expected last value (indicated by -) .

That also explains why changing reorder() does not do anything different to this test result.

1 Like

ohhhh, thank you. don’t know how I missed the task number