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

@@ -12,6 +12,7 @@ import { HttpClientTestingModule } from '@angular/common/http/testing'
import { of } from 'rxjs'
import { NgbModule } from '@ng-bootstrap/ng-bootstrap'
import { Clipboard } from '@angular/cdk/clipboard'
import { NgxBootstrapIconsModule, allIcons } from 'ngx-bootstrap-icons'
const toasts = [
{
@@ -45,7 +46,11 @@ describe('ToastsComponent', () => {
beforeEach(async () => {
TestBed.configureTestingModule({
declarations: [ToastsComponent],
imports: [HttpClientTestingModule, NgbModule],
imports: [
HttpClientTestingModule,
NgbModule,
NgxBootstrapIconsModule.pick(allIcons),
],
providers: [
{
provide: ToastService,