Skip to content

Latest commit

 

History

History
84 lines (54 loc) · 1.88 KB

MODULE_REPORT.md

File metadata and controls

84 lines (54 loc) · 1.88 KB

Module Report

Unknown Global

Global: Ember.testing

Location: addon/components/new-version-notifier/component.js at line 30

  onNewVersion(/* version, lastVersion */) {},
  onError(e) {
    if (!Ember.testing) {
      console.log(e);
    }

Unknown Global

Global: Ember.testing

Location: addon/components/new-version-notifier/component.js at line 63

    }

    if (Ember.testing) { taskRunCounter = 0; }

    if (!Ember.testing || get(this, 'enableInTests')) {

Unknown Global

Global: Ember.testing

Location: addon/components/new-version-notifier/component.js at line 65

    if (Ember.testing) { taskRunCounter = 0; }

    if (!Ember.testing || get(this, 'enableInTests')) {
      if (this.firstCheckInterval > 0) {
        later(this, () => { this.get('updateVersion').perform(); }, this.firstCheckInterval);

Unknown Global

Global: Ember.testing

Location: addon/components/new-version-notifier/component.js at line 76

  updateIntervalWithTesting: computed('updateInterval', 'enableInTests', function() {
    let enableInTests = get(this, 'enableInTests');
    return (!enableInTests && Ember.testing) ? 0 : get(this, 'updateInterval');
  }),

Unknown Global

Global: Ember.testing

Location: addon/components/new-version-notifier/component.js at line 115

      yield timeout(updateInterval);

      if (Ember.testing && ++taskRunCounter > MAX_COUNT_IN_TESTING) { return; }

      if (Ember.testing && !get(this, 'enableInTests')) { return; }

Unknown Global

Global: Ember.testing

Location: addon/components/new-version-notifier/component.js at line 117

      if (Ember.testing && ++taskRunCounter > MAX_COUNT_IN_TESTING) { return; }

      if (Ember.testing && !get(this, 'enableInTests')) { return; }
      this.get('updateVersion').perform();
    }