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:
authorKat Marchán <kzm@sykosomatic.org>2017-05-08 01:57:46 +0300
committerRebecca Turner <me@re-becca.org>2017-05-26 04:42:41 +0300
commit21d58d2eb9ed9336f728ba3dcc8d789d21cd80bd (patch)
tree84db88b84e236397769297f952a5ca68873b025a /test
parent101365821f0c1383955034e0181635772a407ee7 (diff)
fix(tests): update override-bundled
Diffstat (limited to 'test')
-rw-r--r--test/tap/override-bundled.js9
1 files changed, 5 insertions, 4 deletions
diff --git a/test/tap/override-bundled.js b/test/tap/override-bundled.js
index e23c8255c..44cb55428 100644
--- a/test/tap/override-bundled.js
+++ b/test/tap/override-bundled.js
@@ -119,9 +119,9 @@ test('setup', function (t) {
})
test('bundled', function (t) {
- common.npm(['install', '--loglevel=warn'], {cwd: testdir}, function (err, code, stdout, stderr) {
+ common.npm(['install', '--loglevel=verbose'], {cwd: testdir}, function (err, code, stdout, stderr) {
if (err) throw err
- t.plan(8)
+ t.plan(9)
t.is(code, 0, 'npm itself completed ok')
// This tests that after the install we have a freshly installed version
@@ -133,8 +133,9 @@ test('bundled', function (t) {
// _things_ to it. Things like chmod in particular, which in turn results
// in the dreaded ENOENT errors.
t.like(stderr, new RegExp('npm WARN ' + testname), "didn't stomp on other warnings")
- t.like(stderr, /npm WARN.*bundle-update/, 'included update warning about bundled dep')
- t.like(stderr, /npm WARN.*bundle-deep-update/, 'included update warning about deeply bundled dep')
+ t.like(stderr, /npm verb.*bundle-update/, 'included update warning about bundled dep')
+ t.like(stderr, /npm verb.*bundle-deep-update/, 'included update warning about deeply bundled dep')
+ t.like(stderr, /npm WARN top-test@1\.0\.0 had bundled packages that do not match/, 'single grouped warning')
fs.stat(bundleupdateNEWpostinstall, function (missing) {
t.ok(!missing, 'package.json overrode bundle')
})