diff options
Diffstat (limited to 'deps/npm/test/tap/shrinkwrap-optional-property.js')
-rw-r--r-- | deps/npm/test/tap/shrinkwrap-optional-property.js | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/deps/npm/test/tap/shrinkwrap-optional-property.js b/deps/npm/test/tap/shrinkwrap-optional-property.js index 47f11a750b..19e55a45f8 100644 --- a/deps/npm/test/tap/shrinkwrap-optional-property.js +++ b/deps/npm/test/tap/shrinkwrap-optional-property.js @@ -33,7 +33,7 @@ test('shrinkwrap adds optional property when optional dependency', function (t) npm.commands.shrinkwrap([], true, function (err, results) { if (err) return fail(err) - t.deepEqual(results, desired) + t.deepEqual(results.dependencies, desired.dependencies) s.close() t.end() }) @@ -53,14 +53,14 @@ var desired = { dependencies: { 'test-package': { version: '0.0.0', - from: 'test-package@0.0.0', - resolved: common.registry + '/test-package/-/test-package-0.0.0.tgz' + resolved: common.registry + '/test-package/-/test-package-0.0.0.tgz', + integrity: 'sha1-sNMrbEXCWcV4uiADdisgUTG9+9E=' }, 'underscore': { version: '1.3.3', - from: 'underscore@1.3.3', resolved: 'http://localhost:1337/underscore/-/underscore-1.3.3.tgz', - optional: true + optional: true, + integrity: 'sha1-R6xTaD2vgyv6lS4XdEF9pHgXrkI=' } } } |