fix: remove type assertion

This commit is contained in:
abdou6666 2025-02-05 11:55:28 +01:00
parent 4e80a0a215
commit 87e5477e8e

View File

@ -9,7 +9,6 @@
import { EventEmitter2 } from '@nestjs/event-emitter';
import { Test, TestingModule } from '@nestjs/testing';
import { BlockMessage } from '@/chat/schemas/types/message';
import { I18nService } from '@/i18n/services/i18n.service';
import { BasePlugin } from '@/plugins/base-plugin.service';
import { PluginService } from '@/plugins/plugins.service';
@ -155,7 +154,7 @@ describe('TranslationService', () => {
model: 'String 1',
context: ['String 2', 'String 3'],
},
} as unknown as BlockMessage,
},
options: {},
attachedBlock: null,
};