Sha256: 0c52ff50c1a28af735dd31350a37d1fc772ca5820a8f6078d1acd75ad9f766f4

Contents?: true

Size: 523 Bytes

Versions: 5

Compression:

Stored size: 523 Bytes

Contents

'use strict'
var test = require('tap').test
var log = require('npmlog')
var npm = require('../../lib/npm.js')

var idealTree = {
  package: {
    name: 'a b c',
    version: '3.what'
  },
  children: [],
  warnings: []
}

test('setup', function (t) {
  npm.load({}, t.end)
})

test('validate-tree', function (t) {
  log.disableProgress()
  var validateTree = require('../../lib/install/validate-tree.js')
  validateTree(idealTree, log.newGroup('validate'), function (er) {
    t.pass("we didn't crash")
    t.end()
  })
})

Version data entries

5 entries across 4 versions & 1 rubygems

Version Path
node-compiler-0.9.1 vendor/node/deps/npm/test/tap/normalize-package-explode.js
node-compiler-0.9.0 vendor/node-v7.2.1/deps/npm/test/tap/normalize-package-explode.js
node-compiler-0.8.0 vendor/node-v7.2.0/deps/npm/test/tap/normalize-package-explode.js
node-compiler-0.7.0 vendor/node-v6.9.1/deps/npm/test/tap/normalize-package-explode.js
node-compiler-0.7.0 vendor/node-v7.1.0/deps/npm/test/tap/normalize-package-explode.js