Skip to content

Commit

Permalink
Inject ArtemisServerDateService to test
Browse files Browse the repository at this point in the history
  • Loading branch information
badkeyy committed Jan 10, 2025
1 parent c3312d0 commit db171a6
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ describe('ArtemisTimeAgoPipe', () => {

translateService = TestBed.inject(TranslateService);
translateService.use('en');
serverTimeService = TestBed.inject(ArtemisServerDateService);
const ngZone = TestBed.inject(NgZone);
pipe = new ArtemisTimeAgoPipe(cdRef, ngZone, translateService, serverTimeService);
});
Expand Down

0 comments on commit db171a6

Please sign in to comment.