question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Advanced Node Social Authentication test fail due to broken test script

See original GitHub issue

A recent change to the test scripts for the social authentication step of the challenge will never pass: they expect the fcctesting.js script to expose a /_api/routes.js route, but that route doesn’t exist in the test script provided in the starter repo, which clearly states “DO NOT EDIT”, so it shouldn’t be on the student to do this.

See the rendered/production page here.

image

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:6 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
dvbskndcommented, Sep 28, 2020

I’ve managed to complete the challenge by cherry-picking changes from the updated one, so I’ll close this issue.

0reactions
scissorsneedfoodtoocommented, Jul 29, 2021

Hi @agracy2246, for help with the coding challenges, please check out the forum at https://forum.freecodecamp.org. The contributors there are very active, and can help answer any questions you might have.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Implementation of Social Authentication Issues with the testing ...
Issue: Advanced Node and Express - Implementation of Social Authentication -> Test validation error with possible soultion.
Read more >
Basic Login System with Node.js, Express, and MySQL
Learn how to create a basic login system with Node.js, Express, and MySQL. Authenticate users on your website to access restricted pages.
Read more >
Writing tests | Postman Learning Center
Tests confirm that your API is working as expected, that integrations between services are functioning reliably, and that any changes haven't broken ......
Read more >
How to handle PopUps and Alerts in Selenium with examples?
If you have created an automation test case for such pages and not handled this kind of alerts, then your script will fail...
Read more >
14 - Implementation of Social Authentication - freeCodeCamp
14 - Implementation of Social Authentication - Advanced Node and Express - ... If you pass no options or callback, and all strategies...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found