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,7 @@
import { ComponentFixture, TestBed } from '@angular/core/testing';
import { AdminNotifyLogsComponent } from './admin-notify-logs.component';
import { TranslateModule } from '@ngx-translate/core';
describe('AdminNotifyLogsComponent', () => {
let component: AdminNotifyLogsComponent;
@@ -8,6 +9,7 @@ describe('AdminNotifyLogsComponent', () => {
beforeEach(async () => {
await TestBed.configureTestingModule({
imports: [TranslateModule.forRoot()],
declarations: [ AdminNotifyLogsComponent ]
})
.compileComponents();