Sha256: 66aff2fc448d33ae471b936644901b02a72a525e5bdaf41b986fb42251603de9
Contents?: true
Size: 489 Bytes
Versions: 5
Compression:
Stored size: 489 Bytes
Contents
'use strict' var test = require('tap').test var requireInject = require('require-inject') var npm = require('../../lib/npm.js') test('setup', function (t) { npm.load({progress: false}, t.end) }) test('outdated', function (t) { var rptError = new Error('read-package-tree') var outdated = requireInject('../../lib/outdated.js', { 'read-package-tree': function (dir, cb) { cb(rptError) } }) outdated([], function (err) { t.is(err, rptError) t.end() }) })
Version data entries
5 entries across 4 versions & 1 rubygems