nodejs.dev icon indicating copy to clipboard operation
nodejs.dev copied to clipboard

added unit tests for util functions

Open benhalverson opened this issue 3 years ago • 0 comments

Description

Added some more unit test for our util functions.

Related Issues

Check List

  • [ ] I have read the Contributing Guidelines and made commit messages that follow the guideline.
  • [ ] I have run npm run lint:js -- --fix and/or npm run lint:md -- --fix for my JavaScript and/or Markdown changes.
    • This is important as most of the cases your code changes might not be correctly linted
  • [ ] I have run npm run test to check if all tests are passing, and/or npm run test -- -u to update snapshots if I created and/or updated React Components.
  • [ ] I have checked that the build works locally and that npm run build work fine.
  • [ ] I've covered new added functionality with unit tests if necessary.

benhalverson avatar Sep 19 '22 03:09 benhalverson