aboutsummaryrefslogtreecommitdiffstats
path: root/usecaseui-portal/src
diff options
context:
space:
mode:
Diffstat (limited to 'usecaseui-portal/src')
-rw-r--r--usecaseui-portal/src/app/views/services/services-list/delete-model/delete-model.component.spec.ts10
1 files changed, 8 insertions, 2 deletions
diff --git a/usecaseui-portal/src/app/views/services/services-list/delete-model/delete-model.component.spec.ts b/usecaseui-portal/src/app/views/services/services-list/delete-model/delete-model.component.spec.ts
index e5e94c94..9057502c 100644
--- a/usecaseui-portal/src/app/views/services/services-list/delete-model/delete-model.component.spec.ts
+++ b/usecaseui-portal/src/app/views/services/services-list/delete-model/delete-model.component.spec.ts
@@ -1,14 +1,20 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing';
+import { TranslateModule } from '@ngx-translate/core';
+import { NgZorroAntdModule } from 'ng-zorro-antd';
+import { NZ_I18N, en_US } from 'ng-zorro-antd';
+import { FormsModule } from '@angular/forms';
import { DeleteModelComponent } from './delete-model.component';
-describe('DeleteModelComponent', () => {
+fdescribe('DeleteModelComponent', () => {
let component: DeleteModelComponent;
let fixture: ComponentFixture<DeleteModelComponent>;
beforeEach(async(() => {
TestBed.configureTestingModule({
- declarations: [ DeleteModelComponent ]
+ declarations: [ DeleteModelComponent ],
+ imports: [ TranslateModule.forRoot(), NgZorroAntdModule.forRoot(), FormsModule ],
+ providers: [ { provide: NZ_I18N, useValue: en_US } ]
})
.compileComponents();
}));