My output is correct,but run tests not working

My output is correct,but run tests not working
0

#1

Hello, I am doing this challenge:
https://freecodecamp.cn/challenges/pig-latin

And I finished my code, my output is correct but the screen doesn’t show the passed message.
I really don’t know how to solve it.

There are some screenshots:


And console has an error message, I don’t know whether it is related to my problem or not.


#2

Instead of screenshots,

go head and paste your code in this post. Make sure it’s formatted.