This is the codeAbility Sharing Platform! Learn more about the codeAbility Sharing Platform.

Skip to content
Snippets Groups Projects
peer-reviewing.component.spec.ts 932 B
Newer Older
import { ComponentFixture, TestBed } from '@angular/core/testing';
Eduard Frankford's avatar
Eduard Frankford committed
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { HttpClientModule } from '@angular/common/http';
import { PeerReviewingComponent } from './peer-reviewing.component';
Eduard Frankford's avatar
Eduard Frankford committed
import { TranslateService } from '@ngx-translate/core';

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

  beforeEach(async () => {
    await TestBed.configureTestingModule({
Eduard Frankford's avatar
Eduard Frankford committed
      imports: [HttpClientTestingModule, HttpClientModule],
Eduard Frankford's avatar
Eduard Frankford committed
      declarations: [PeerReviewingComponent, TranslateService],
    }).compileComponents();
  });

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

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