aboutsummaryrefslogtreecommitdiffstats
path: root/so-monitoring/so-monitoring-ui/src/main/frontend/src/app/topbar/topbar.component.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'so-monitoring/so-monitoring-ui/src/main/frontend/src/app/topbar/topbar.component.spec.ts')
-rw-r--r--so-monitoring/so-monitoring-ui/src/main/frontend/src/app/topbar/topbar.component.spec.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/so-monitoring/so-monitoring-ui/src/main/frontend/src/app/topbar/topbar.component.spec.ts b/so-monitoring/so-monitoring-ui/src/main/frontend/src/app/topbar/topbar.component.spec.ts
index 0bc691ca7e..3d402bf1e9 100644
--- a/so-monitoring/so-monitoring-ui/src/main/frontend/src/app/topbar/topbar.component.spec.ts
+++ b/so-monitoring/so-monitoring-ui/src/main/frontend/src/app/topbar/topbar.component.spec.ts
@@ -23,6 +23,7 @@ SPDX-License-Identifier: Apache-2.0
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { TopbarComponent } from './topbar.component';
+import { CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
describe('TopbarComponent', () => {
let component: TopbarComponent;
@@ -30,7 +31,10 @@ describe('TopbarComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [TopbarComponent]
+ declarations: [TopbarComponent],
+ schemas: [
+ CUSTOM_ELEMENTS_SCHEMA
+ ]
})
.compileComponents();
}));
@@ -41,7 +45,7 @@ describe('TopbarComponent', () => {
fixture.detectChanges();
});
- it('should create', () => {
+ it('component should be created', () => {
expect(component).toBeTruthy();
});
});