Skip to content

Commit 2eff5ce

Browse files
committed
fix(frontend): fix unit tests
1 parent 09341ba commit 2eff5ce

File tree

3 files changed

+2
-6
lines changed

3 files changed

+2
-6
lines changed

packages/frontend/src/app/modules/general/components/contact-support/contact-support.component.ts

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ import {
2626
} from "@khazii/ngx-intl-tel-input";
2727
import { PREFERRED_COUNTRIES } from "../../../../../_common/model";
2828
import { anyPhoneValidator, getFormPhone } from "../../../../shared/phone";
29-
import { NgClass, NgIf } from "@angular/common";
3029
import { RouterModule } from "@angular/router";
3130

3231
import { NgbModule } from "@ng-bootstrap/ng-bootstrap";
@@ -39,10 +38,7 @@ import { PhoneInputComponent } from "../../../usager-shared/components/input-pho
3938
imports: [
4039
FormsModule,
4140
ReactiveFormsModule,
42-
NgIf,
43-
NgClass,
4441
NgbModule,
45-
4642
SharedModule,
4743
RouterModule,
4844
NgxIntlTelInputModule,

packages/frontend/src/app/modules/shared/components/table-head-sort-icon/table-head-sort-icon.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ describe("TableHeadSortIconComponent", () => {
1111

1212
beforeEach(() => {
1313
TestBed.configureTestingModule({
14-
imports: [NgIf, NgClass, FontAwesomeModule],
14+
imports: [NgIf, NgClass],
1515
schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
1616
}).compileComponents();
1717
fixture = TestBed.createComponent(TableHeadSortIconComponent);

packages/frontend/src/app/modules/shared/components/table-head-sort/table-head-sort.component.spec.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ describe("TableHeadSortComponent", () => {
1010

1111
beforeEach(() => {
1212
TestBed.configureTestingModule({
13-
imports: [NgIf, NgClass, FontAwesomeModule],
13+
imports: [NgIf, NgClass],
1414
schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
1515
}).compileComponents();
1616

0 commit comments

Comments
 (0)