How to use the console-ui/mock function in console-ui

To help you get started, we’ve selected a few console-ui examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github embroider-build / embroider / test-packages / support / build.ts View on Github external
constructor(options?: any) {
    options = options || {};

    this.ui = options.ui || new MockUI();
    this.root = join(__dirname, '..', '..');
    this.npmPackage = options.npmPackage || 'ember-cli';
    this.instrumentation = options.instrumentation || new Instrumentation({});
    this.packageInfoCache = new PackageInfoCache(this.ui);
  }
}

console-ui

common interface for abstracting a console ui

ISC
Latest version published 4 years ago

Package Health Score

56 / 100
Full package analysis