I'm testing out a regular expression in JavaScript.
It's nice to do automated testing, so I wrote some tests to verify the expected behavior of my regex.
The goal of the regex is to help filter (i.e. remove) records which are:
- badly formatted, or
- not tagged according to some parameter
If you have NPM installed, just run:
npm test
Try running:
npm install
See operations.js
See test.js
Then open up a pull request.
If you add the appropriate tests, some other programmer (me) can write the code to make the tests pass.