well i think the problem is with the replit platform,like i was saying when i used done with out bracket as suggested in the example it does not work,with bracket it does.will be trying locally,thank you very much.
If you invoke the callback then you are passing the function return value and not the actual callback function.
It might look like it is working because (I assume) you do not get the timeout error, which is the issue running this challenge on Replit often gives. However, that doesn’t mean it works when invoking the callback.
Anyway, running the challenge locally will in my experience always work without issues.
i already tried using done only but has get the error "before all" hook in "Functional Tests with Zombie.js": TypeError: bind EINVAL 0.0.0.0
i also updated node and npm to the latest version.
finally it worked,i can not belieive my eyes.
yes of course ,i am using http://localhost:3000 for the URL to submit.
sorry,i do not now what the problem is in github now,i have been try to add a file to the repo either by draging or choosing the file but it would not let me it just open the file in new tab when i drag and drop .while choosing file nothing happens.
also tried creating new file but the commit button is not working( is highlighted.)
also tried pushing it from vscode terminal but when it asks for authentication,i can not because again the button is not working.
very sorry for the very late reply.i was having some issue with SSH-KEYS and of course some work issue at home
i add all the files including the node_modules so,i had to remove it from .gitignore and i think the problem is with this file may be.i followed the same way as suggested in the link you give me to work locally the challenges.should i use nodemon instead to configure the node_modules.also i was having the same issue when i submit Metric-Imperial Converter project to FCC all tests not passing,but locally works,when i provide the localhost url.
by what,locally or using replit?
i tried using replit by Changing the localhost to 0.0.0.0.it pass one challenge after a lot try but the last one seems not passing even after so much attempts.
well i think i have no other choice but to try another day until it passes.if you see the screenshoot i give you at the top it is not passing any testes or give a time out.so,it seems it is not working totally using locally and remember i did not stop the server while i submit the localhost url.
i commited the node_modules folder because you have mentioned it to push,but if no need i will add it to .gitignore.
also giving the github repo link only for the projects does not seems to work,i need to give both links?
Locally, you do not need it on Replit. Only the certification projects have to be online.
That was the entire point of doing it locally because Replit is awful with the last zombie tests. You should be able to pass all the challenges using the locally running version, maybe you have something on your end that is blocking it somehow because it works without issue for me.
You can’t submit the GitHub repo, the code has to be running on a Node.js server (locally or remotely) so it can be tested.
Just to be clear, you never commit or push the dependencies. Pushing your code does not include the dependencies, only your own code. You should always gitignore the node_modules folder.
thanks a lot @lasjorg,it works now the problem arise because i was using brave browser. i think it blocked the request coming from FCC to test the live server.
so, after using chrome it passes all the test even the Metric-Imperial Converter project,but the submit and go to next challenge not showing up?