Skip to content

Commit

Permalink
test: fix test/lib/outdated.js coverage
Browse files Browse the repository at this point in the history
Adds a optionalDependencies to fixtures in order to cover missing LOC
  • Loading branch information
ruyadorno committed Jan 15, 2021
1 parent 358e223 commit b019203
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/lib/outdated.js
Original file line number Diff line number Diff line change
Expand Up @@ -131,6 +131,9 @@ t.test('should display outdated deps', t => {
devDependencies: {
zeta: '^1.0.0',
},
optionalDependencies: {
lorem: '^1.0.0',
},
peerDependencies: {
beta: '^1.0.0',
},
Expand Down

0 comments on commit b019203

Please sign in to comment.