diff options
Diffstat (limited to 'deps/npm/test/tap/shrinkwrap-scoped-auth.js')
-rw-r--r-- | deps/npm/test/tap/shrinkwrap-scoped-auth.js | 10 |
1 files changed, 1 insertions, 9 deletions
diff --git a/deps/npm/test/tap/shrinkwrap-scoped-auth.js b/deps/npm/test/tap/shrinkwrap-scoped-auth.js index a469bc8356..6d5130137e 100644 --- a/deps/npm/test/tap/shrinkwrap-scoped-auth.js +++ b/deps/npm/test/tap/shrinkwrap-scoped-auth.js @@ -53,20 +53,12 @@ test('authed npm install with shrinkwrapped scoped package', function (t) { t.equal(code, 0, 'npm install exited OK') try { var results = JSON.parse(stdout) + t.match(results, {added: [{name: '@scoped/underscore', version: '1.3.1'}]}, '@scoped/underscore installed') } catch (ex) { console.error('#', ex) t.ifError(ex, 'stdout was valid JSON') } - if (results) { - var installedversion = { - 'version': '1.3.1', - 'from': '>=1.3.1 <2', - 'resolved': 'http://localhost:1337/scoped-underscore/-/scoped-underscore-1.3.1.tgz' - } - t.isDeeply(results.dependencies['@scoped/underscore'], installedversion, '@scoped/underscore installed') - } - t.end() } ) |