Skip to content

Commit

Permalink
Fix build due to broken tests.
Browse files Browse the repository at this point in the history
  • Loading branch information
swoocn committed Mar 10, 2024
1 parent 9a26b51 commit 65b43fb
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';

import { TranslateModule } from '@ngx-translate/core';
import { InformationComponent } from './information.component';

describe('InformationComponent', () => {
Expand All @@ -8,7 +8,7 @@ describe('InformationComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [InformationComponent]
imports: [InformationComponent, TranslateModule.forRoot()]
})
.compileComponents();

Expand Down
7 changes: 4 additions & 3 deletions frontend/src/app/shared/footer/footer.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { RouterTestingModule } from '@angular/router/testing';
import { TranslateModule } from '@ngx-translate/core';
import { FooterComponent } from './footer.component';

describe('FooterComponent', () => {
Expand All @@ -7,9 +9,8 @@ describe('FooterComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [FooterComponent]
})
.compileComponents();
imports: [FooterComponent, RouterTestingModule, TranslateModule.forRoot()]
}).compileComponents();

fixture = TestBed.createComponent(FooterComponent);
component = fixture.componentInstance;
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { TranslateModule } from '@ngx-translate/core';
import { TermsOfServiceComponent } from './terms-of-service.component';

describe('TermsOfServiceComponent', () => {
Expand All @@ -7,7 +8,7 @@ describe('TermsOfServiceComponent', () => {

beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [TermsOfServiceComponent]
imports: [TermsOfServiceComponent, TranslateModule.forRoot()]
})
.compileComponents();

Expand Down
2 changes: 1 addition & 1 deletion frontend/src/assets/styles/fonts.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,300;0,400;0,700;1,300;1,400;1,700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
// @import url('https://fonts.googleapis.com/css2?family=Lato&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Signika&display=swap');

:root {
Expand Down

0 comments on commit 65b43fb

Please sign in to comment.