Skip to content
Snippets Groups Projects
Commit 14a35678 authored by Rhys Arkins's avatar Rhys Arkins
Browse files

tests: fix coverage

parent 4cdaea3b
No related branches found
No related tags found
No related merge requests found
......@@ -104,6 +104,7 @@ const isStable = (version: string) => {
};
const maxSatisfyingVersion = (versions: string[], range: string) => {
// istanbul ignore next
return versions.reduce((result, version) => {
if (matches(version, range)) {
if (!result) return version;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment