* ===================================================================
* 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");
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { SelfComponent } from './self.component';
+import { FormsModule, ReactiveFormsModule } from '@angular/forms';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
+import { MatTableModule, MatSelectModule, MatSlideToggleModule } from '@angular/material';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
+import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
describe('SelfComponent', () => {
let component: SelfComponent;
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ SelfComponent ]
+ schemas: [CUSTOM_ELEMENTS_SCHEMA],
+ declarations: [ SelfComponent ],
+ imports: [
+ ReactiveFormsModule,
+ FormsModule,
+ MatTableModule,
+ MatSelectModule,
+ MatSlideToggleModule,
+ BrowserAnimationsModule,
+ HttpClientTestingModule
+ ]
})
.compileComponents();
}));