Skip to content

Commit

Permalink
111326: update to new lint standards
Browse files Browse the repository at this point in the history
  • Loading branch information
Jens Vannerum committed Mar 8, 2024
1 parent dbd9bf6 commit f9c8103
Showing 1 changed file with 5 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import {
import { ActivatedRoute } from '@angular/router';
import { TranslateModule } from '@ngx-translate/core';
import { of as observableOf } from 'rxjs';
import { ServerResponseService } from 'src/app/core/services/server-response.service';

import { ActivatedRouteStub } from '../../shared/testing/active-router.stub';
import { ObjectNotFoundComponent } from './objectnotfound.component';
import { ServerResponseService } from 'src/app/core/services/server-response.service';

describe('ObjectNotFoundComponent', () => {
let comp: ObjectNotFoundComponent;
Expand All @@ -23,7 +23,7 @@ describe('ObjectNotFoundComponent', () => {
params: observableOf({ id: testUUID, idType: uuidType }),
});
const serverResponseServiceStub = jasmine.createSpyObj('ServerResponseService', {
setNotFound: jasmine.createSpy('setNotFound')
setNotFound: jasmine.createSpy('setNotFound'),
});

const activatedRouteStubHandle = Object.assign(new ActivatedRouteStub(), {
Expand All @@ -35,8 +35,8 @@ describe('ObjectNotFoundComponent', () => {
imports: [
TranslateModule.forRoot(),
], providers: [
{ provide: ServerResponseService, useValue: serverResponseServiceStub} ,
{ provide: ActivatedRoute, useValue: activatedRouteStub }
{ provide: ServerResponseService, useValue: serverResponseServiceStub } ,
{ provide: ActivatedRoute, useValue: activatedRouteStub },
],
declarations: [ObjectNotFoundComponent],
schemas: [NO_ERRORS_SCHEMA],
Expand Down Expand Up @@ -71,7 +71,7 @@ describe('ObjectNotFoundComponent', () => {
TranslateModule.forRoot(),
], providers: [
{ provide: ServerResponseService, useValue: serverResponseServiceStub },
{ provide: ActivatedRoute, useValue: activatedRouteStubHandle }
{ provide: ActivatedRoute, useValue: activatedRouteStubHandle },
],
declarations: [ObjectNotFoundComponent],
schemas: [NO_ERRORS_SCHEMA],
Expand Down

0 comments on commit f9c8103

Please sign in to comment.