There must be an easier way to test and debug your code. How do you test your code?
Any recommendations? I asked the question on Twitter, but apparently I do not have enough clout to get an answer.
correct I use jamine & mocha, but they all go very well knowing how to use them here I leave the link of jasmine read the documentation or search on youtube. I hope it helps you https://jasmine.github.io/
For debugging I use breakpoints and occasionally some console statements (mostly to break up my code in a way that makes it easier to use breakpoints).
Tests are used to ensure code quality. They make sure that requirements are being met (like the test suite used by freeCodeCamp for the projects) and they make sure that the functionality is not broken by future changes. This is where your search results come in.