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:
authorRebecca Turner <me@re-becca.org>2015-06-15 20:03:28 +0300
committerRebecca Turner <me@re-becca.org>2015-06-26 03:27:16 +0300
commit368f3767e9e1e3fd38311fd8c6d02094aa9f798e (patch)
treead16ef97806eea2b54e8c09048cb7958a98ff8f1
parenta56a10868884223ad178ce7adb9e738e4750809a (diff)
test: fix circular-dep to look for new node_modules structure
-rw-r--r--test/tap/circular-dep.js5
1 files changed, 4 insertions, 1 deletions
diff --git a/test/tap/circular-dep.js b/test/tap/circular-dep.js
index 002b30cd7..d7f66eace 100644
--- a/test/tap/circular-dep.js
+++ b/test/tap/circular-dep.js
@@ -61,7 +61,10 @@ test('installing a package that depends on the current package', function (t) {
t.ok(existsSync(path.resolve(
minimist,
- 'node_modules', 'optimist',
+ 'node_modules', 'optimist'
+ )), 'optimist in place')
+ t.ok(existsSync(path.resolve(
+ minimist,
'node_modules', 'minimist'
)), 'circular dependency uncircled')
t.end()