Fixing SO-Monitoring UI tests
[so.git] / so-monitoring / so-monitoring-ui / src / main / frontend / src / app / topbar / topbar.component.spec.ts
index 0bc691c..3d402bf 100644 (file)
@@ -23,6 +23,7 @@ SPDX-License-Identifier: Apache-2.0
 import { async, ComponentFixture, TestBed } from '@angular/core/testing';\r
 \r
 import { TopbarComponent } from './topbar.component';\r
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';\r
 \r
 describe('TopbarComponent', () => {\r
   let component: TopbarComponent;\r
@@ -30,7 +31,10 @@ describe('TopbarComponent', () => {
 \r
   beforeEach(async(() => {\r
     TestBed.configureTestingModule({\r
-      declarations: [TopbarComponent]\r
+      declarations: [TopbarComponent],\r
+      schemas: [\r
+        CUSTOM_ELEMENTS_SCHEMA\r
+      ]\r
     })\r
       .compileComponents();\r
   }));\r
@@ -41,7 +45,7 @@ describe('TopbarComponent', () => {
     fixture.detectChanges();\r
   });\r
 \r
-  it('should create', () => {\r
+  it('component should be created', () => {\r
     expect(component).toBeTruthy();\r
   });\r
 });\r