Does freeCodeCamp support gitlab links for solutions? [SOLVED]

Tell us what’s happening:

Does freeCodeCamp support gitlab repos for solutions? I submitted my very first solution but the test output is not what I expected. See the log below, I’m pretty sure I had changed the function names already.

// running tests
All tests should pass.
You should choose the correct method for the first assertion - isNull vs. isNotNull.
You should choose the correct method for the second assertion - isNull vs. isNotNull.
// tests completed

Your project link(s)
solution: gitlab.com/pwrepo/qatestwithchai/

Challenge: Learn How JavaScript Assertions Work

Link to the challenge:

I’m also trying to run the tests locally but struggling to do so:

> my-hyperdev-app@0.0.1 test /home/freecodecamp-chaiqa
> mocha "tests/"

/home/freecodecamp-chaiqa/tests/1_unit-tests.js:4
suite('Unit Tests', function () {
^

ReferenceError: suite is not defined
    at Object.<anonymous> (/home/freecodecamp-chaiqa/tests/1_unit-tests.js:4:1)
    at Module._compile (internal/modules/cjs/loader.js:1138:30)
    at Object.Module._extensions..js (internal/modules/cjs/loader.js:1158:10)
    at Module.load (internal/modules/cjs/loader.js:986:32)

Thanks but I am not sure how to make it a working site URL. I tried to use GitLab pages but I didn’t quite make it work. Are you able to help give me instructions on how I can best do this? Or point me to examples?

Also I hope you can answer the above but if it needs to be another post, let me know.

Hello there,

If you are unsure how to set up a fullstack webpage, then it is recommended to use the Repl option given on the challenge page:
image

Otherwise, you will be spending a lot of time learning how to work with whatever infrastructure is needed to set it up, when you could be focusing on the lessons at hand.

Do not get me wrong, it is an excellent skill to have - knowing how to set up a webpage from scratch. However, if you are not comfortable with getting started, then there is still a lot to cover before reaching that point.

I will say, the most seamless experience I have had with hosting fullstack applications is Heroku (outside of Repl/Glitch/CodeSandbox).

Hope this helps

Thanks for giving a more comprehensive answer Shaun. I’ll try Repl.it today and check your answer as the solution for now. I think that Repl.it bullet point should be moved to the the top to be honest, it would’ve saved me time trying to set all this up. Totally agree with you.

This topic was automatically closed 182 days after the last reply. New replies are no longer allowed.