Fix frontend tests icon imports

This commit is contained in:
shamoon
2024-01-19 22:28:32 -08:00
parent e5f48739a0
commit 5781a0d51f
42 changed files with 137 additions and 20 deletions

View File

@@ -5,6 +5,7 @@ import {
NG_VALUE_ACCESSOR,
} from '@angular/forms'
import { UrlComponent } from './url.component'
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
describe('TextComponent', () => {
let component: UrlComponent
@@ -15,7 +16,11 @@ describe('TextComponent', () => {
TestBed.configureTestingModule({
declarations: [UrlComponent],
providers: [],
imports: [FormsModule, ReactiveFormsModule],
imports: [
FormsModule,
ReactiveFormsModule,
NgxBootstrapIconsModule.pick(allIcons),
],
}).compileComponents()
fixture = TestBed.createComponent(UrlComponent)