bvfnbk / node-assert

A pure JavaScript assert library for fluent input parameter validation.
Apache License 2.0
0 stars 0 forks source link

Refactor tests to avoid duplicate code. #10

Closed bvfnbk closed 3 years ago

bvfnbk commented 3 years ago

Culprit: test_NumberAssert.js

Test is too long (causing issues with codefactor). While this is acceptable (and the concrete test is currently ignored for code analysis) it should not be...


Eventually split file to assert the type/defined'ness/null'ness separately and to focus on the domain.