summaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src/app/test
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src/app/test')
-rw-r--r--usecaseui-portal/src/app/test/test.component.spec.ts13
1 files changed, 11 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/test/test.component.spec.ts b/usecaseui-portal/src/app/test/test.component.spec.ts
index ef4e38cb..47300e1f 100644
--- a/usecaseui-portal/src/app/test/test.component.spec.ts
+++ b/usecaseui-portal/src/app/test/test.component.spec.ts
@@ -1,5 +1,8 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { NO_ERRORS_SCHEMA, CUSTOM_ELEMENTS_SCHEMA } from '@angular/core';
+import { HttpClientModule } from '@angular/common/http';
+import { TextService } from '../core/services/text.service';
import { TestComponent } from './test.component';
describe('TestComponent', () => {
@@ -8,9 +11,15 @@ describe('TestComponent', () => {
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ TestComponent ]
+ schemas: [
+ CUSTOM_ELEMENTS_SCHEMA,
+ NO_ERRORS_SCHEMA
+ ],
+ imports: [HttpClientModule],
+ providers: [TextService],
+ declarations: [TestComponent]
})
- .compileComponents();
+ .compileComponents();
}));
beforeEach(() => {