@@ -7,10 +7,10 @@ import {
77import { ActivatedRoute } from '@angular/router' ;
88import { TranslateModule } from '@ngx-translate/core' ;
99import { of as observableOf } from 'rxjs' ;
10+ import { ServerResponseService } from 'src/app/core/services/server-response.service' ;
1011
1112import { ActivatedRouteStub } from '../../shared/testing/active-router.stub' ;
1213import { ObjectNotFoundComponent } from './objectnotfound.component' ;
13- import { ServerResponseService } from 'src/app/core/services/server-response.service' ;
1414
1515describe ( 'ObjectNotFoundComponent' , ( ) => {
1616 let comp : ObjectNotFoundComponent ;
@@ -23,7 +23,7 @@ describe('ObjectNotFoundComponent', () => {
2323 params : observableOf ( { id : testUUID , idType : uuidType } ) ,
2424 } ) ;
2525 const serverResponseServiceStub = jasmine . createSpyObj ( 'ServerResponseService' , {
26- setNotFound : jasmine . createSpy ( 'setNotFound' )
26+ setNotFound : jasmine . createSpy ( 'setNotFound' ) ,
2727 } ) ;
2828
2929 const activatedRouteStubHandle = Object . assign ( new ActivatedRouteStub ( ) , {
@@ -35,8 +35,8 @@ describe('ObjectNotFoundComponent', () => {
3535 imports : [
3636 TranslateModule . forRoot ( ) ,
3737 ] , providers : [
38- { provide : ServerResponseService , useValue : serverResponseServiceStub } ,
39- { provide : ActivatedRoute , useValue : activatedRouteStub }
38+ { provide : ServerResponseService , useValue : serverResponseServiceStub } ,
39+ { provide : ActivatedRoute , useValue : activatedRouteStub } ,
4040 ] ,
4141 declarations : [ ObjectNotFoundComponent ] ,
4242 schemas : [ NO_ERRORS_SCHEMA ] ,
@@ -71,7 +71,7 @@ describe('ObjectNotFoundComponent', () => {
7171 TranslateModule . forRoot ( ) ,
7272 ] , providers : [
7373 { provide : ServerResponseService , useValue : serverResponseServiceStub } ,
74- { provide : ActivatedRoute , useValue : activatedRouteStubHandle }
74+ { provide : ActivatedRoute , useValue : activatedRouteStubHandle } ,
7575 ] ,
7676 declarations : [ ObjectNotFoundComponent ] ,
7777 schemas : [ NO_ERRORS_SCHEMA ] ,
0 commit comments