import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';

import { TranslateModule } from '@ngx-translate/core';
import { DocViewerSearchResultsComponent } from './doc-viewer-search-results.component';

describe('DocViewerSearchResultsComponent', () => {
  let component: DocViewerSearchResultsComponent;
  let fixture: ComponentFixture<DocViewerSearchResultsComponent>;

  beforeEach(
    waitForAsync(() => {
      TestBed.configureTestingModule({
        declarations: [DocViewerSearchResultsComponent],
        imports: [TranslateModule.forRoot()],
        teardown: { destroyAfterEach: false },
      }).compileComponents();
    })
  );

  beforeEach(() => {
    fixture = TestBed.createComponent(DocViewerSearchResultsComponent);
    component = fixture.componentInstance;
    fixture.detectChanges();
  });

  it('should create', () => {
    expect(component).toBeTruthy();
  });
});
