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

Skip to content
Snippets Groups Projects
Commit 737db20e authored by Eduard Frankford's avatar Eduard Frankford
Browse files

pmd improvements

parent a097c9b9
2 merge requests!188Merging Peer Reviewing et. al to Master,!164211 peer reviewing functionality
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { HttpClientModule } from '@angular/common/http';
import { TranslateModule } from '@ngx-translate/core';
import { LocalStorageService, SessionStorageService } from 'ngx-webstorage';
import { RouterTestingModule } from '@angular/router/testing';
import { ReviewRatingsComponent } from './review-ratings.component';
describe('ReviewRatingsComponent', () => {
......@@ -8,7 +12,9 @@ describe('ReviewRatingsComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [HttpClientTestingModule, HttpClientModule, TranslateModule.forRoot(), RouterTestingModule],
declarations: [ReviewRatingsComponent],
providers: [LocalStorageService, SessionStorageService],
}).compileComponents();
});
......
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { HttpClientTestingModule } from '@angular/common/http/testing';
import { HttpClientModule } from '@angular/common/http';
import { TranslateModule } from '@ngx-translate/core';
import { LocalStorageService, SessionStorageService } from 'ngx-webstorage';
import { RouterTestingModule } from '@angular/router/testing';
import { ReviewsComponent } from './reviews.component';
describe('ReviewsComponent', () => {
......@@ -8,7 +12,9 @@ describe('ReviewsComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [HttpClientTestingModule, HttpClientModule, TranslateModule.forRoot(), RouterTestingModule],
declarations: [ReviewsComponent],
providers: [LocalStorageService, SessionStorageService],
}).compileComponents();
});
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment