9f58af2d43744252e13a5b0b95105bb1f14373f2
[portal/nonrtric-controlpanel.git] / webapp-frontend / src / app / policy / typed-policy-editor / typed-policy-editor.component.spec.ts
1 import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/compiler';
2 import { ChangeDetectorRef } from '@angular/core';
3 import { async, ComponentFixture, TestBed } from '@angular/core/testing';
4 import { MatIconModule } from '@angular/material/icon';
5 import { BrowserAnimationsModule } from '@angular/platform-browser/animations';
6
7 import { TypedPolicyEditorComponent } from './typed-policy-editor.component';
8
9 describe('TypedPolicyEditorComponent', () => {
10   let component: TypedPolicyEditorComponent;
11   let fixture: ComponentFixture<TypedPolicyEditorComponent>;
12
13   beforeEach(async(() => {
14     TestBed.configureTestingModule({
15       imports: [
16         BrowserAnimationsModule,
17         MatIconModule
18       ],
19       declarations: [
20         TypedPolicyEditorComponent
21       ],
22       schemas: [
23         CUSTOM_ELEMENTS_SCHEMA
24       ],
25       providers: [
26         ChangeDetectorRef
27       ]
28     })
29     .compileComponents();
30   }));
31
32   beforeEach(() => {
33     fixture = TestBed.createComponent(TypedPolicyEditorComponent);
34     component = fixture.componentInstance;
35     fixture.detectChanges();
36   });
37
38   it('should create', () => {
39     expect(component).toBeTruthy();
40   });
41 });