'use strict' var assert = require('assert') var clearRequire = require('clear-require') process.env.AWS_EXECUTION_ENV = 'AWS_Lambda_nodejs6.10' process.env.LAMBDA_TASK_ROOT = '/var/task' var isCI = require('./') assert(isCI) delete process.env.AWS_EXECUTION_ENV clearRequire('./') isCI = require('./') assert(!isCI)
Name | Type | Size | Permission | Actions |
---|---|---|---|---|
LICENSE | File | 1.07 KB | 0644 |
|
index.js | File | 114 B | 0644 |
|
package.json | File | 773 B | 0644 |
|
test.js | File | 321 B | 0644 |
|