mirror of
https://github.com/DSpace/dspace-angular.git
synced 2025-10-07 10:04:11 +00:00
Lint errors.
This commit is contained in:
@@ -155,7 +155,7 @@ describe('PublicationComponent', () => {
|
||||
beforeEach(waitForAsync(() => {
|
||||
const localMockRouteService = {
|
||||
getPreviousUrl(): Observable<string> {
|
||||
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<string> {
|
||||
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();
|
||||
}));
|
||||
|
||||
|
@@ -173,7 +173,7 @@ describe('UntypedItemComponent', () => {
|
||||
beforeEach(waitForAsync(() => {
|
||||
const localMockRouteService = {
|
||||
getPreviousUrl(): Observable<string> {
|
||||
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<string> {
|
||||
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();
|
||||
}));
|
||||
|
||||
});
|
||||
|
Reference in New Issue
Block a user