Skip to content

Commit

Permalink
Merge pull request #320 from correctexam/313-do-not-compress-more-tha…
Browse files Browse the repository at this point in the history
…n-09-when-a-page-contains-a-qcm

clean text for linter
  • Loading branch information
barais authored Jul 10, 2023
2 parents b7852a1 + 5f04908 commit 785e2e0
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 27 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ import { of, Subject, from } from 'rxjs';

import { ExamService } from '../service/exam.service';
import { Exam } from '../exam.model';
import { TemplateService } from 'app/entities/template/service/template.service';
import { ZoneService } from 'app/entities/zone/service/zone.service';
import { ScanService } from 'app/entities/scan/service/scan.service';
import { CourseService } from 'app/entities/course/service/course.service';

import { ExamUpdateComponent } from './exam-update.component';

Expand All @@ -20,10 +16,6 @@ describe('Exam Management Update Component', () => {
let fixture: ComponentFixture<ExamUpdateComponent>;
let activatedRoute: ActivatedRoute;
let examService: ExamService;
let templateService: TemplateService;
let zoneService: ZoneService;
let scanService: ScanService;
let courseService: CourseService;

beforeEach(() => {
TestBed.configureTestingModule({
Expand All @@ -45,10 +37,6 @@ describe('Exam Management Update Component', () => {
fixture = TestBed.createComponent(ExamUpdateComponent);
activatedRoute = TestBed.inject(ActivatedRoute);
examService = TestBed.inject(ExamService);
templateService = TestBed.inject(TemplateService);
zoneService = TestBed.inject(ZoneService);
scanService = TestBed.inject(ScanService);
courseService = TestBed.inject(CourseService);

comp = fixture.componentInstance;
});
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,6 @@ import { of, Subject, from } from 'rxjs';

import { StudentResponseService } from '../service/student-response.service';
import { StudentResponse } from '../student-response.model';
import { QuestionService } from 'app/entities/question/service/question.service';
import { ExamSheetService } from 'app/entities/exam-sheet/service/exam-sheet.service';
import { TextCommentService } from 'app/entities/text-comment/service/text-comment.service';
import { GradedCommentService } from 'app/entities/graded-comment/service/graded-comment.service';

import { StudentResponseUpdateComponent } from './student-response-update.component';

Expand All @@ -20,10 +16,6 @@ describe('StudentResponse Management Update Component', () => {
let fixture: ComponentFixture<StudentResponseUpdateComponent>;
let activatedRoute: ActivatedRoute;
let studentResponseService: StudentResponseService;
let questionService: QuestionService;
let examSheetService: ExamSheetService;
let textCommentService: TextCommentService;
let gradedCommentService: GradedCommentService;

beforeEach(() => {
TestBed.configureTestingModule({
Expand All @@ -45,10 +37,6 @@ describe('StudentResponse Management Update Component', () => {
fixture = TestBed.createComponent(StudentResponseUpdateComponent);
activatedRoute = TestBed.inject(ActivatedRoute);
studentResponseService = TestBed.inject(StudentResponseService);
questionService = TestBed.inject(QuestionService);
examSheetService = TestBed.inject(ExamSheetService);
textCommentService = TestBed.inject(TextCommentService);
gradedCommentService = TestBed.inject(GradedCommentService);

comp = fixture.componentInstance;
});
Expand Down
4 changes: 1 addition & 3 deletions src/main/webapp/app/home/home.component.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,16 +13,14 @@ import { TranslateModule, TranslateService } from '@ngx-translate/core';
import { ReactiveFormsModule, FormsModule } from '@angular/forms';

import { HttpClientTestingModule } from '@angular/common/http/testing';
import { LocalStorageService, NgxWebstorageModule, SessionStorageService } from 'ngx-webstorage';
import { NgxWebstorageModule } from 'ngx-webstorage';

describe('Home Component', () => {
let comp: HomeComponent;
let fixture: ComponentFixture<HomeComponent>;
let mockAccountService: AccountService;
let mockTranslateService: TranslateService;
let mockRouter: Router;
let localStorageService: LocalStorageService;
let sessionStorageService: SessionStorageService;

const account: Account = {
activated: true,
Expand Down

0 comments on commit 785e2e0

Please sign in to comment.