Skip to content
Snippets Groups Projects
course-details-dialog.component.spec.ts 1.26 KiB
Newer Older
// import { async, ComponentFixture, TestBed } from '@angular/core/testing';
// import { SharedModule } from '@app/shared/shared.module';
// import { CoreModule } from '@app/core/core.module';
// import { DataService } from '@app/core/data.service';
// import { HttpClient } from '@angular/common/http';
// import { HttpHandler } from '@angular/common/http';
// import { CourseDetailsDialogComponent } from './course-details-dialog.component';
// import { MAT_DIALOG_DATA, MatDialogRef } from '@angular/material';
// describe('CourseDetailsDialogComponent', () => {
// 	let component: CourseDetailsDialogComponent;
// 	let fixture: ComponentFixture<CourseDetailsDialogComponent>;
// 	beforeEach(async(() => {
// 		TestBed.configureTestingModule({
// 			imports: [CoreModule, SharedModule],
// 			declarations: [ CourseDetailsDialogComponent ],
// 			providers: [DataService, HttpClient, HttpHandler, { provide: MatDialogRef, useValue: {} }, { provide: MAT_DIALOG_DATA, useValue: {} }]
// 		})
// 		.compileComponents();
// 	}));
// 	beforeEach(() => {
// 		fixture = TestBed.createComponent(CourseDetailsDialogComponent);
// 		component = fixture.componentInstance;
// 		fixture.detectChanges();
// 	});
// 	it('should create', () => {
// 		expect(component).toBeTruthy();
// 	});
// });