HEX
Server: Microsoft-IIS/8.5
System: Windows NT YDAWBH120 6.3 build 9600 (Windows Server 2012 R2 Standard Edition) AMD64
User: tentjecom_web (0)
PHP: 7.4.14
Disabled: NONE
Upload Files
File: D:/HostingSpaces/SBogers10/douven.komma.pro/node_modules/npm/test/tap/normalize-package-explode.js
'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()
  })
})