Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/npm/cli.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorRuy Adorno <ruyadorno@hotmail.com>2021-01-15 23:22:48 +0300
committerRuy Adorno <ruyadorno@hotmail.com>2021-01-15 23:47:25 +0300
commitb01920326f2c0d7c5f63e98e84b732f7ed2efd3f (patch)
treeae936cdb17a8511bd61f4777ee36739da210e7cb /test
parent358e223f208774f9f3bfd7ac50785598ac998ea2 (diff)
test: fix test/lib/outdated.js coverage
Adds a optionalDependencies to fixtures in order to cover missing LOC
Diffstat (limited to 'test')
-rw-r--r--test/lib/outdated.js3
1 files changed, 3 insertions, 0 deletions
diff --git a/test/lib/outdated.js b/test/lib/outdated.js
index 7a5bd8f0e..da53b6031 100644
--- a/test/lib/outdated.js
+++ b/test/lib/outdated.js
@@ -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',
},