mirror of https://github.com/lukechilds/node.git
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.
13 lines
337 B
13 lines
337 B
11 years ago
|
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()
|
||
|
})
|
||
|
})
|