mirror of
https://github.com/bvanroll/rpiRadio.git
synced 2025-08-31 04:52:56 +00:00
Initial Commit
This commit is contained in:
19
ProjectNow/NodeServer/node_modules/is-ci/test.js
generated
vendored
Normal file
19
ProjectNow/NodeServer/node_modules/is-ci/test.js
generated
vendored
Normal file
@@ -0,0 +1,19 @@
|
||||
'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)
|
Reference in New Issue
Block a user