I cannot get the project tests to run

I am building my projects locally with Sublime Text. I have added the CDN to the end of my HTML file in a script tag but I cannot find any answers about what to do or expect next. At the moment nothing happens when I open my project in any browser.

You need to put the CDN in the src of one script at the top (I just used codepen for that, so I don’t know exactly in what part of the top works or not, so you must to test it, but at least above the body, maybe at top of the head).

<script scr="https://gitcdn.link/repo/freeCodeCamp/testable-projects-fcc/master/build/bundle.js"></script>

Good luck, hoping that it works.

thanks but no luck. In the console I keep getting a mocha not loaded yet error does that have anything to do with the tests?

I also ran into this problem, so I searched this forum and found this topic: Test scripts not working in local development environment.

The solution is to use a different CDN link:
<script src="https://cdn.freecodecamp.org/testable-projects-fcc/v1/bundle.js"></script>

It works for me :slight_smile: