How does FreeCodeCamp run/test our code

How does FreeCodeCamp run/test our code. Does it run it in the backend? Does it run it inside the browser itself? I am trying to build something similar to the code runner so this information would help a lot. Thanks

1 Like

I think it is run in the backend

Welcome there,

All of freeCodeCamp’s code is publicly visible and open-source:

The tests are run in different ways depending on which challenge you are referring to.

Most of the tests are simple Chaijs assertions running in the browser:

Hope this helps

1 Like