summaryrefslogtreecommitdiffstats
path: root/portal-FE-common/src/app/shared/plugin/plugin.component.spec.ts
diff options
context:
space:
mode:
Diffstat (limited to 'portal-FE-common/src/app/shared/plugin/plugin.component.spec.ts')
-rw-r--r--portal-FE-common/src/app/shared/plugin/plugin.component.spec.ts8
1 files changed, 6 insertions, 2 deletions
diff --git a/portal-FE-common/src/app/shared/plugin/plugin.component.spec.ts b/portal-FE-common/src/app/shared/plugin/plugin.component.spec.ts
index cc5810c1..59802bab 100644
--- a/portal-FE-common/src/app/shared/plugin/plugin.component.spec.ts
+++ b/portal-FE-common/src/app/shared/plugin/plugin.component.spec.ts
@@ -39,14 +39,18 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
import { PluginComponent } from './plugin.component';
+import { ClientPluginLoaderService } from './plugin-loader/client-plugin-loader.service';
+import { HttpClientTestingModule } from '@angular/common/http/testing';
describe('PluginComponent', () => {
let component: PluginComponent;
let fixture: ComponentFixture<PluginComponent>;
-
+ let clientPluginLoaderService: ClientPluginLoaderService;
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ PluginComponent ]
+ declarations: [ PluginComponent ],
+ providers:[ClientPluginLoaderService],
+ imports: [HttpClientTestingModule]
})
.compileComponents();
}));