summaryrefslogtreecommitdiffstats
path: root/portal-FE-common/src/app/layout/layout.component.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'portal-FE-common/src/app/layout/layout.component.spec.ts')
-rw-r--r--portal-FE-common/src/app/layout/layout.component.spec.ts8
1 files changed, 7 insertions, 1 deletions
diff --git a/portal-FE-common/src/app/layout/layout.component.spec.ts b/portal-FE-common/src/app/layout/layout.component.spec.ts
index 5184fe43..3074c297 100644
--- a/portal-FE-common/src/app/layout/layout.component.spec.ts
+++ b/portal-FE-common/src/app/layout/layout.component.spec.ts
@@ -38,6 +38,7 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { LayoutComponent } from './layout.component';
+import { Component } from '@angular/core';
describe('LayoutComponent', () => {
let component: LayoutComponent;
@@ -45,7 +46,7 @@ describe('LayoutComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ LayoutComponent ]
+ declarations: [ LayoutComponent,AppheaderStubComponent,AppTabBarStubComponent ]
})
.compileComponents();
}));
@@ -60,3 +61,8 @@ describe('LayoutComponent', () => {
expect(component).toBeTruthy();
});
});
+@Component({selector: 'app-header', template: ''})
+class AppheaderStubComponent {}
+
+@Component({selector: 'app-tabbar', template: ''})
+class AppTabBarStubComponent { } \ No newline at end of file