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
\r
beforeEach(async(() => {\r
TestBed.configureTestingModule({\r
- declarations: [TopbarComponent]\r
+ declarations: [TopbarComponent],\r
+ schemas: [\r
+ CUSTOM_ELEMENTS_SCHEMA\r
+ ]\r
})\r
.compileComponents();\r
}));\r
fixture.detectChanges();\r
});\r
\r
- it('should create', () => {\r
+ it('component should be created', () => {\r
expect(component).toBeTruthy();\r
});\r
});\r