deb.open-vault/ui/MODULE_REPORT.md

4.8 KiB

Module Report

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-form.js at line 252


  delayAuthMessageReminder: task(function*() {
    if (Ember.testing) {
      this.showLoading = true;
      yield timeout(0);

Unknown Global

Global: Ember.testing

Location: app/routes/vault/cluster/logout.js at line 30

    this.flashMessages.clearMessages();
    this.permissions.reset();
    if (Ember.testing) {
      // Don't redirect on the test
      this.replaceWith('vault.cluster.auth', { queryParams: { with: authType } });

Unknown Global

Global: Ember.testing

Location: app/components/mount-backend-form.js at line 100

      capabilities = yield this.store.findRecord('capabilities', `${path}/config`);
    } catch (err) {
      if (Ember.testing) {
        //captures mount-backend-form component test
        yield mountModel.save();

Unknown Global

Global: Ember.testing

Location: app/components/oidc-consent-block.js at line 47

    let { redirect, ...params } = this.args;
    let redirectUrl = this.buildUrl(redirect, params);
    if (Ember.testing) {
      this.args.testRedirect(redirectUrl.toString());
    } else {

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;
    }

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/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 268

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