open-vault/ui/MODULE_REPORT.md

4.0 KiB

Module Report

Unknown Global

Global: Ember.onerror

Location: tests/helpers/wait-for-error.js at line 5


export default function waitForError(opts) {
  const orig = Ember.onerror;

  let error = null;

Unknown Global

Global: Ember.onerror

Location: tests/helpers/wait-for-error.js at line 5


export default function waitForError(opts) {
  const orig = Ember.onerror;

  let error = null;

Unknown Global

Global: Ember.onerror

Location: tests/helpers/wait-for-error.js at line 8


  let error = null;
  Ember.onerror = err => {
    error = err;
  };

Unknown Global

Global: Ember.onerror

Location: tests/helpers/wait-for-error.js at line 13


  return waitUntil(() => error, opts).finally(() => {
    Ember.onerror = orig;
  });
}

Unknown Global

Global: Ember.Logger

Location: tests/acceptance/not-found-test.js at line 15


  hooks.beforeEach(function() {
    loggerError = Ember.Logger.error;
    adapterException = Ember.Test.adapter.exception;
    Ember.Test.adapter.exception = () => {};

Unknown Global

Global: Ember.Test

Location: tests/acceptance/not-found-test.js at line 16

  hooks.beforeEach(function() {
    loggerError = Ember.Logger.error;
    adapterException = Ember.Test.adapter.exception;
    Ember.Test.adapter.exception = () => {};
    Ember.Logger.error = () => {};

Unknown Global

Global: Ember.Test

Location: tests/acceptance/not-found-test.js at line 17

    loggerError = Ember.Logger.error;
    adapterException = Ember.Test.adapter.exception;
    Ember.Test.adapter.exception = () => {};
    Ember.Logger.error = () => {};
    return authPage.login();

Unknown Global

Global: Ember.Logger

Location: tests/acceptance/not-found-test.js at line 18

    adapterException = Ember.Test.adapter.exception;
    Ember.Test.adapter.exception = () => {};
    Ember.Logger.error = () => {};
    return authPage.login();
  });

Unknown Global

Global: Ember.Test

Location: tests/acceptance/not-found-test.js at line 23


  hooks.afterEach(function() {
    Ember.Test.adapter.exception = adapterException;
    Ember.Logger.error = loggerError;
    return logout.visit();

Unknown Global

Global: Ember.Logger

Location: tests/acceptance/not-found-test.js at line 24

  hooks.afterEach(function() {
    Ember.Test.adapter.exception = adapterException;
    Ember.Logger.error = loggerError;
    return logout.visit();
  });

Unknown Global

Global: Ember.testing

Location: app/components/auth-jwt.js at line 9


/* eslint-disable ember/no-ember-testing-in-module-scope */
const WAIT_TIME = Ember.testing ? 0 : 500;
const ERROR_WINDOW_CLOSED =
  'The provider window was closed before authentication was complete.  Please click Sign In to try again.';

Unknown Global

Global: Ember.testing

Location: app/components/auth-jwt.js at line 119

  exchangeOIDC: task(function*(event, oidcWindow) {
    // in non-incognito mode we need to use a timeout because it takes time before oidcState is written to local storage.
    let oidcState = Ember.testing
      ? event.storageArea.getItem('oidcState')
      : yield timeout(1000).then(() => event.storageArea.getItem('oidcState'));

Unknown Global

Global: Ember.testing

Location: app/routes/vault.js at line 7

import Ember from 'ember';
/* eslint-disable ember/no-ember-testing-in-module-scope */
const SPLASH_DELAY = Ember.testing ? 0 : 300;

export default Route.extend({

Unknown Global

Global: Ember.testing

Location: app/services/auth.js at line 267

  checkShouldRenew: task(function*() {
    while (true) {
      if (Ember.testing) {
        return;
      }

Unknown Global

Global: Ember.testing

Location: lib/core/addon/components/ttl-form.js at line 82

    this.set('time', parsedTime);
    this.handleChange();
    if (Ember.testing) {
      return;
    }