'use strict';
let _hasWarnedLegacyViz = false;
function vizEnabled() {
let isEnabled = process.env.BROCCOLI_VIZ === '1';
let isLegacyEnabled = !!process.env.BROCCOLI_VIZ && !isEnabled;
if (isLegacyEnabled && !_hasWarnedLegacyViz) {
// TODO: this.ui
console.warn(`Please set BROCCOLI_VIZ=1 to enable visual instrumentation, rather than '${process.env.BROCCOLI_VIZ}'`);
_hasWarnedLegacyViz = true;
}
return isEnabled || isLegacyEnabled;
}
function instrumentationEnabled() {
return vizEnabled() || process.env.EMBER_CLI_INSTRUMENTATION === '1';
}
module.exports = {
vizEnabled,
instrumentationEnabled,
};
# |
Change |
User |
Description |
Committed |
|
#1
|
23539 |
jenbottom |
Adding the basic code for ember test appk, created with 'ember new' command |
|
|