do-markdownit icon indicating copy to clipboard operation
do-markdownit copied to clipboard

Write tests for utils

Open MattIPv4 opened this issue 2 years ago • 1 comments
trafficstars

Feature request

Feature description

The files under the utils directory are completely untested (though some are tested indirectly through usage in plugins). We should write tests for each file in the utils directory, testing each method/constant that is exported, similar to how we have tests for each plugin file.

How the feature is useful

Ensures we don't accidentally break the functionality of a util when shipping a change to the library.

MattIPv4 avatar May 09 '23 12:05 MattIPv4

Hi. I no longer work at DigitalOcean.

Also, what you're reporting seems in no way related to this issue. Please open a new issue in GitHub when reporting something unrelated to existing issues.

MattIPv4 avatar Dec 19 '24 14:12 MattIPv4