I have the same problem. I’ve also console logged the test inputs and it’s not returning the test input that is throwing the error (also fantasy in my case). But when I manually test it in the browser it works as expected. I’ve logged it as a bug as I’m not really sure what else to do here!
Facing the same issue here. Not sure how to proceed.
Running the code manually returns the correct values.