add new component, add mock, refactor

This commit is contained in:
FrancescoMolinaro
2023-12-22 17:26:46 +01:00
parent 604fb4f3d1
commit 5d8ba54676
16 changed files with 131 additions and 45 deletions

View File

@@ -1,6 +1,8 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { AdminNotifyDashboardComponent } from './admin-notify-dashboard.component';
import { TranslateModule } from '@ngx-translate/core';
import { NgbNavModule } from '@ng-bootstrap/ng-bootstrap';
describe('AdminNotifyDashboardComponent', () => {
let component: AdminNotifyDashboardComponent;
@@ -8,6 +10,7 @@ describe('AdminNotifyDashboardComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [TranslateModule.forRoot(), NgbNavModule],
declarations: [ AdminNotifyDashboardComponent ]
})
.compileComponents();