Move error handlers into one dir

This commit is contained in:
ziajka 2018-07-03 11:40:12 +02:00
parent 0cc0b765b5
commit ca45804b5e
6 changed files with 11 additions and 11 deletions

View File

@ -79,9 +79,9 @@ import { LocalServerComponent } from './components/local-server/local-server.com
import { ProgressComponent } from './common/progress/progress.component';
import { ProgressService } from "./common/progress/progress.service";
import { version } from "./version";
import { ToasterErrorHandler } from "./toaster-error-handler";
import { ToasterErrorHandler } from "./common/error-handlers/toaster-error-handler";
import { environment } from "../environments/environment";
import { RavenState } from "./raven-state-communicator";
import { RavenState } from "./common/error-handlers/raven-state-communicator";
if (environment.production) {

View File

@ -1,9 +1,9 @@
import { TestBed } from '@angular/core/testing';
import { PersistenceService } from "angular-persistence";
import { SettingsService } from "./services/settings.service";
import { SettingsService } from "../../services/settings.service";
import { RavenErrorHandler } from "./raven-error-handler";
import { environment } from "../environments/environment";
import { environment } from "../../../environments/environment";
describe('RavenErrorHandler', () => {

View File

@ -1,7 +1,7 @@
import { ErrorHandler, Inject, Injector } from "@angular/core";
import { SettingsService } from "./services/settings.service";
import { environment } from "../environments/environment";
import { SettingsService } from "../../services/settings.service";
import { environment } from "../../../environments/environment";
import { RavenState } from "./raven-state-communicator";

View File

@ -1,10 +1,10 @@
import { TestBed } from '@angular/core/testing';
import { ToasterService } from "./services/toaster.service";
import { MockedToasterService } from "./services/toaster.service.spec";
import { ToasterService } from "../../services/toaster.service";
import { MockedToasterService } from "../../services/toaster.service.spec";
import { ToasterErrorHandler } from "./toaster-error-handler";
import { RavenErrorHandler } from "./raven-error-handler";
import { SettingsService } from "./services/settings.service";
import { MockedSettingsService } from "./services/settings.service.spec";
import { SettingsService } from "../../services/settings.service";
import { MockedSettingsService } from "../../services/settings.service.spec";
describe('ToasterErrorHandler', () => {

View File

@ -1,5 +1,5 @@
import { RavenErrorHandler } from "./raven-error-handler";
import { ToasterService } from "./services/toaster.service";
import { ToasterService } from "../../services/toaster.service";
export class ToasterErrorHandler extends RavenErrorHandler {