From 58b8ba3aa7a5a8274e9731fea6cc158373d93d2e Mon Sep 17 00:00:00 2001 From: Michael Spalti Date: Thu, 28 Apr 2022 17:01:59 -0700 Subject: [PATCH] Lint errors. --- .../item-types/publication/publication.component.spec.ts | 8 ++++---- .../untyped-item/untyped-item.component.spec.ts | 8 ++++---- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/src/app/item-page/simple/item-types/publication/publication.component.spec.ts b/src/app/item-page/simple/item-types/publication/publication.component.spec.ts index 7c63fabb47..772a83d93e 100644 --- a/src/app/item-page/simple/item-types/publication/publication.component.spec.ts +++ b/src/app/item-page/simple/item-types/publication/publication.component.spec.ts @@ -155,7 +155,7 @@ describe('PublicationComponent', () => { beforeEach(waitForAsync(() => { const localMockRouteService = { getPreviousUrl(): Observable { - return of('/search?query=test') + return of('/search?query=test'); } }; const iiifEnabledMap: MetadataMap = { @@ -178,7 +178,7 @@ describe('PublicationComponent', () => { it('should retrieve the query term for previous route', fakeAsync((): void => { //tick(10) expect(comp.iiifQuery$.subscribe(result => expect(result).toEqual('test'))); - })) + })); }); @@ -187,7 +187,7 @@ describe('PublicationComponent', () => { beforeEach(waitForAsync(() => { const localMockRouteService = { getPreviousUrl(): Observable { - return of('/item') + return of('/item'); } }; const iiifEnabledMap: MetadataMap = { @@ -210,7 +210,7 @@ describe('PublicationComponent', () => { it('should not retrieve the query term for previous route', fakeAsync( () => { let emitted; comp.iiifQuery$.subscribe(result => emitted = result); - tick(10) + tick(10); expect(emitted).toBeUndefined(); })); diff --git a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.spec.ts b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.spec.ts index b5ac779086..308129892a 100644 --- a/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.spec.ts +++ b/src/app/item-page/simple/item-types/untyped-item/untyped-item.component.spec.ts @@ -173,7 +173,7 @@ describe('UntypedItemComponent', () => { beforeEach(waitForAsync(() => { const localMockRouteService = { getPreviousUrl(): Observable { - return of('/search?query=test') + return of('/search?query=test'); } }; const iiifEnabledMap: MetadataMap = { @@ -204,7 +204,7 @@ describe('UntypedItemComponent', () => { beforeEach(waitForAsync(() => { const localMockRouteService = { getPreviousUrl(): Observable { - return of('/item') + return of('/item'); } }; const iiifEnabledMap: MetadataMap = { @@ -227,8 +227,8 @@ describe('UntypedItemComponent', () => { it('should not retrieve the query term for previous route', fakeAsync( () => { let emitted; comp.iiifQuery$.subscribe(result => emitted = result); - tick(10) - expect(emitted).toBeUndefined() + tick(10); + expect(emitted).toBeUndefined(); })); });