freeCodeCamp / curriculum-helpers

An internal package that allows thorough testing of challenges between multiple freeCodeCamp platforms.
BSD 3-Clause "New" or "Revised" License
18 stars 13 forks source link

feat: create a JS helpers class #190

Closed a2937 closed 5 months ago

a2937 commented 5 months ago

Checklist:

Closes #XXXXX

In my opinion, it does come up fairly often that we use regex to ensure that variables are actually present in functions with default values; and I think the potential spacing issues aren't generally worth with it when we can just manually extract them.

I also tried to do some house-keeping and hopefully keep eslint from reformatting the fixtures as it is very space sensitive. As I use Visual Studio to edit Typescript, I also added some of the contents of VisualStudio.gitignore to the local gitignore. I will be be happy to remove the unrelated content and discuss them at a later date.

a2937 commented 5 months ago

Did I get it, as all tests seem to pass?