unable to make any test pass for Quality Assurance and Testing with Chai though i have cloned the project from github. and also made changes accordingly. Please help
my github link - https://github.com/sheetalsingh92/boilerplate-mochachai
unable to make any test pass for Quality Assurance and Testing with Chai though i have cloned the project from github. and also made changes accordingly. Please help
my github link - https://github.com/sheetalsingh92/boilerplate-mochachai
Welcome, sheetalkhatri.
Where are you hosting the app? You cannot just submit a GitHub repo with files; you need to have the content hosted on a live server, for the tests to pass.
So, if you have not done so, you will need to use something like Repl.it, CodeSandbox, or Glitch.
So i have this project now -> https://glitch.com/edit/#!/abalone-pumped-iguanacolossus?path=tests%2F1_unit-tests.js%3A1%3A0
when i paste this link on freecodecamp, i still see this
Unfortunately, that is not the correct link to paste in to the solution box.
This is the one which needs to be used for the tests:
https://abalone-pumped-iguanacolossus.glitch.me/
Edit: Just to add, you are writing an app with specific routes (/_api/get-tests
, /hello
). And these routes are connected to where the app is live: https://abalone-pumped-iguanacolossus.glitch.me/
. So, when the tests run, they use the app URL, and add the route endpoints to it.
Hope this clarifies
So i have this project now -> https://abalone-pumped-iguanacolossus.glitch.me
when i paste this link on freecodecamp, i still see this
// running tests
All tests should pass.
You should choose the right assertion - isNull vs. isNotNull.
You should choose the right assertion - isNull vs. isNotNull.
// tests completed
The tests pass for me… Ensure the app is running, in the background, before hitting I’ve completed this challenge