Advanced Node and Express - Implementation of Social Authentication Issues with the testing

And even after you transfer all back to server.js, you still might run into problems. As the code is checked with regex, all sort of little issues can creep in unnoticed. For example, here we see a newline causing the test to fail. When you run into trouble, try copying their code and see if it works. If it does, then you probably ran into some regex issue.