fix: correct broken imports in inquiry-created-to-lead.listener.spec.ts
The spec file had two wrong relative imports: - InquiryCreatedToLeadListener: `../` → `../event-handlers/` - CreateLeadCommand: `../../commands/` → `../commands/` Both were off by one directory level since the test lives in `application/__tests__/` but referenced paths as if it were in `application/` directly. All 6 tests now pass. Co-Authored-By: Claude Opus 4 <noreply@anthropic.com>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
import { InquiryCreatedEvent } from '@modules/inquiries/domain/events/inquiry-created.event';
|
||||
import { CreateLeadCommand } from '../../commands/create-lead/create-lead.command';
|
||||
import { InquiryCreatedToLeadListener } from '../inquiry-created-to-lead.listener';
|
||||
import { CreateLeadCommand } from '../commands/create-lead/create-lead.command';
|
||||
import { InquiryCreatedToLeadListener } from '../event-handlers/inquiry-created-to-lead.listener';
|
||||
|
||||
describe('InquiryCreatedToLeadListener', () => {
|
||||
let listener: InquiryCreatedToLeadListener;
|
||||
|
||||
Reference in New Issue
Block a user