So, I had to make a module and test module for removing spaces, easy, right? Kinda. It was really easy to make the module that removes the spaces, but making the test was a new task for me.
This was me writing the tests. Dave made a really good point about using a node package called “clean-whitespace”, it removes quite literally anything that looks like a space. So, I implemented this, and then remove all the spaces right after as a means to sanitize. It worked on my machine, so I made a PR on it.
So, now that I’ve got the code, and the test to work, it passed everything through our CI-CD’s and it got merged! Yay!