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
diff options
context:
space:
mode:
Diffstat (limited to 'test/lib/config.js')
-rw-r--r--test/lib/config.js7
1 files changed, 7 insertions, 0 deletions
diff --git a/test/lib/config.js b/test/lib/config.js
index 14cd81617..98ece0f4f 100644
--- a/test/lib/config.js
+++ b/test/lib/config.js
@@ -93,6 +93,13 @@ t.test('config no args', t => {
})
})
+t.test('config ignores workspaces', t => {
+ config.execWorkspaces([], [], (err) => {
+ t.match(err, /usage instructions/, 'should not error out when workspaces are defined')
+ t.end()
+ })
+})
+
t.test('config list', t => {
t.plan(2)