Your IP : 18.119.119.191


Current Path : /opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules/is-ci/
Upload File :
Current File : //opt/alt/alt-nodejs11/root/lib/node_modules/npm/node_modules/is-ci/test.js

'use strict'

var assert = require('assert')
var clearRequire = require('clear-require')

process.env.CI = 'true'

var isCI = require('./')
assert(isCI)

delete process.env.CI
delete process.env.CONTINUOUS_INTEGRATION
delete process.env.BUILD_NUMBER
delete process.env.TRAVIS

clearRequire('./')
clearRequire('ci-info')
isCI = require('./')
assert(!isCI)

?>