lirantal / lockfile-lint

Lint an npm or yarn lockfile to analyze and detect security issues
Apache License 2.0
780 stars 35 forks source link

test: Handle unknown validator function name #106

Closed anishkny closed 3 years ago

anishkny commented 3 years ago

Description

Added a test case to ensure passing unknown validator function name is handled gracefully.

Types of changes

Motivation and Context

I wanted to improve code coverage to 100% (from 99.6%) codecov

How Has This Been Tested?

Screenshots (if appropriate):

Checklist:

anishkny commented 3 years ago

Coverage bumped to 100%

lirantal commented 3 years ago

Look at that beauty:

image

Thank you @anishkny, greta job! 👏