You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

12 lines
338 B

var test = require('tap').test
var npm = require('../../')
var lifecycle = require('../../lib/utils/lifecycle')
test('lifecycle: make env correctly', function (t) {
npm.load({enteente: Infinity}, function () {
var env = lifecycle.makeEnv({}, null, process.env)
t.equal('Infinity', env.npm_config_enteente)
t.end()
})
})