Skip to content

Commit

Permalink
test: Fix tests
Browse files Browse the repository at this point in the history
  • Loading branch information
elwinschmitz committed Jul 8, 2024
1 parent 34e77f8 commit 48729d4
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import { provideLocationMocks } from '@angular/common/testing';
import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { provideRouter } from '@angular/router';
import { LoggingService } from 'src/app/services/logging.service';
Expand All @@ -10,9 +11,9 @@ describe('TranslationOptionsComponent', () => {

beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({
imports: [],
providers: [
provideRouter([]),
provideLocationMocks(),
{
provide: LoggingService,
},
Expand Down
2 changes: 1 addition & 1 deletion src/environments/environment.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ export const environment = {

// Configuration of content
localeLanguage: 'en',
localeDir: '',
localeDir: 'ltr',
localeAlternatives: '',
localeAlternativesExplanation: '',
appName: 'HIA-test',
Expand Down

0 comments on commit 48729d4

Please sign in to comment.