benrr101 / node-taglib-sharp

A node.js port of mono/taglib-sharp
GNU Lesser General Public License v2.1
42 stars 11 forks source link

Testers: Change allowUndefined to an Allow enum #68

Closed benrr101 closed 1 year ago

benrr101 commented 1 year ago

Description: This PR changes the signature of various unit test utilities in Testers from having an explicit allowUndefined boolean to accepting an enum Allow that has bit flags for Undefined and Null. The testers have also been updated to conditionally turn on running the test with null if Allow.Null is in the flags, although this is not being used yet.

Testing: All existing tests are passing