feat: fix DsDynamicTagComponent test

This commit is contained in:
Enea Jahollari
2023-09-26 16:48:31 +02:00
parent a933bf52a0
commit d61b197129

View File

@@ -21,6 +21,7 @@ import {
mockDynamicFormLayoutService, mockDynamicFormLayoutService,
mockDynamicFormValidationService mockDynamicFormValidationService
} from '../../../../../testing/dynamic-form-mock-services'; } from '../../../../../testing/dynamic-form-mock-services';
import { TranslateModule } from '@ngx-translate/core';
function createKeyUpEvent(key: number) { function createKeyUpEvent(key: number) {
/* eslint-disable no-empty,@typescript-eslint/no-empty-function */ /* eslint-disable no-empty,@typescript-eslint/no-empty-function */
@@ -76,6 +77,7 @@ describe('DsDynamicTagComponent test suite', () => {
init(); init();
TestBed.configureTestingModule({ TestBed.configureTestingModule({
imports: [ imports: [
TranslateModule.forRoot(),
DynamicFormsCoreModule, DynamicFormsCoreModule,
DynamicFormsNGBootstrapUIModule, DynamicFormsNGBootstrapUIModule,
FormsModule, FormsModule,