Skip to content

Commit

Permalink
fix another test
Browse files Browse the repository at this point in the history
  • Loading branch information
undernagruzez committed Sep 30, 2024
1 parent 653816d commit dabd872
Showing 1 changed file with 2 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ import { TranslateService } from '@ngx-translate/core';
import { facSaveSuccess, facSaveWarning } from 'src/main/webapp/content/icons/icons';
import { NgbTooltipModule } from '@ng-bootstrap/ng-bootstrap';
import { ExamLiveEventsButtonComponent } from 'app/exam/participate/events/exam-live-events-button.component';
import { ArtemisSharedCommonModule } from 'app/shared/shared-common.module';

describe('ExamNavigationSidebarComponent', () => {
let fixture: ComponentFixture<ExamNavigationSidebarComponent>;
Expand All @@ -33,7 +34,7 @@ describe('ExamNavigationSidebarComponent', () => {

beforeEach(() => {
TestBed.configureTestingModule({
imports: [ArtemisTestModule, TranslateTestingModule, MockModule(NgbTooltipModule)],
imports: [ArtemisTestModule, TranslateTestingModule, MockModule(NgbTooltipModule), MockModule(ArtemisSharedCommonModule)],
declarations: [ExamNavigationSidebarComponent, MockComponent(ExamTimerComponent), MockComponent(ExamLiveEventsButtonComponent)],
providers: [
ExamParticipationService,
Expand Down

0 comments on commit dabd872

Please sign in to comment.