Skip to content

Commit 37cb797

Browse files
committed
fix: cover sort
1 parent 55585d4 commit 37cb797

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

test/lib/commands/publish.js

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -904,6 +904,8 @@ t.test('latest dist tag', (t) => {
904904
})
905905

906906
const packuments = [
907+
// this needs more than one item in it to cover the sort logic
908+
{ version: '50.0.0' },
907909
{ version: '100.0.0' },
908910
{ version: '105.0.0-pre' },
909911
]

0 commit comments

Comments
 (0)