Skip to content

Commit

Permalink
fix action service tests
Browse files Browse the repository at this point in the history
  • Loading branch information
kcinay055679 committed Nov 5, 2024
1 parent 9d90509 commit 8937a38
Showing 1 changed file with 8 additions and 1 deletion.
Original file line number Diff line number Diff line change
@@ -1,12 +1,19 @@
import { TestBed } from '@angular/core/testing';

import { ObjectiveMenuActionsService } from './objective-menu-actions.service';
import { TranslateModule, TranslateService } from '@ngx-translate/core';
import { provideRouter } from '@angular/router';
import { provideHttpClient } from '@angular/common/http';
import { provideHttpClientTesting } from '@angular/common/http/testing';

describe('ObjectiveMenuActionsService', () => {
let service: ObjectiveMenuActionsService;

beforeEach(() => {
TestBed.configureTestingModule({});
TestBed.configureTestingModule({
imports: [TranslateModule.forRoot()],
providers: [TranslateService, provideRouter([]), provideHttpClient(), provideHttpClientTesting()],
});
service = TestBed.inject(ObjectiveMenuActionsService);
});

Expand Down

0 comments on commit 8937a38

Please sign in to comment.