mirror of
https://github.com/GNS3/gns3-web-ui.git
synced 2025-01-18 10:46:35 +00:00
Move error handlers into one dir
This commit is contained in:
parent
0cc0b765b5
commit
ca45804b5e
@ -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) {
|
||||
|
@ -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', () => {
|
@ -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";
|
||||
|
||||
|
@ -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', () => {
|
@ -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 {
|
Loading…
Reference in New Issue
Block a user