see https://v17.angular.io/guide/standalone-migration I executed: ng g @angular/core:standalone and selected "Convert all components, directives and pipes to standalone"
24 lines
671 B
TypeScript
24 lines
671 B
TypeScript
import { ComponentFixture, TestBed } from '@angular/core/testing';
|
|
|
|
import { ConfirmationDialogComponent } from './confirmation-dialog.component';
|
|
|
|
describe('ConfirmationDialogComponent', () => {
|
|
let component: ConfirmationDialogComponent;
|
|
let fixture: ComponentFixture<ConfirmationDialogComponent>;
|
|
|
|
beforeEach(async () => {
|
|
await TestBed.configureTestingModule({
|
|
imports: [ConfirmationDialogComponent]
|
|
})
|
|
.compileComponents();
|
|
|
|
fixture = TestBed.createComponent(ConfirmationDialogComponent);
|
|
component = fixture.componentInstance;
|
|
fixture.detectChanges();
|
|
});
|
|
|
|
it('should create', () => {
|
|
expect(component).toBeTruthy();
|
|
});
|
|
});
|