From 37cb797d87d51da81336ecc8a064518590a32422 Mon Sep 17 00:00:00 2001 From: reggi Date: Wed, 4 Dec 2024 15:28:39 -0500 Subject: [PATCH] fix: cover sort --- test/lib/commands/publish.js | 2 ++ 1 file changed, 2 insertions(+) diff --git a/test/lib/commands/publish.js b/test/lib/commands/publish.js index 412f51f8def78..942e01672984a 100644 --- a/test/lib/commands/publish.js +++ b/test/lib/commands/publish.js @@ -904,6 +904,8 @@ t.test('latest dist tag', (t) => { }) const packuments = [ + // this needs more than one item in it to cover the sort logic + { version: '50.0.0' }, { version: '100.0.0' }, { version: '105.0.0-pre' }, ]