* ===================================================================
* Copyright © 2019 AT&T Intellectual Property. All rights reserved.
* ===================================================================
+* Modification Copyright © 2020 IBM.
+ * ===================================================================
*
* Unless otherwise specified, all software contained herein is licensed
* under the Apache License, Version 2.0 (the "License");
} from '@angular/material';
import { WelcomeDashboardComponent } from './welcome-dashboard.component';
+import { CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA } from '@angular/core';
describe('WelcomeDashboardComponent', () => {
let component: WelcomeDashboardComponent;
beforeEach(async(() => {
TestBed.configureTestingModule({
+ schemas: [CUSTOM_ELEMENTS_SCHEMA, NO_ERRORS_SCHEMA],
declarations: [WelcomeDashboardComponent],
imports: [
NoopAnimationsModule,
it('should compile', () => {
expect(component).toBeTruthy();
});
-});
+});
\ No newline at end of file
import { MatTableModule } from '@angular/material/table';
import { RunReportResultSetComponent } from './run-report-result-set.component';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
+import { HttpClient } from '@angular/common/http';
+import { RouterTestingModule } from '@angular/router/testing';
-describe('RunReportFinalTableComponent', () => {
+describe('RunReportResultSetComponent', () => {
let component: RunReportResultSetComponent;
let fixture: ComponentFixture<RunReportResultSetComponent>;
MatPaginatorModule,
MatSortModule,
MatTableModule,
- ]
+ HttpClientTestingModule,
+ RouterTestingModule
+ ],
}).compileComponents();
}));