This commit is contained in:
@@ -315,8 +315,11 @@ describe('executeReadMsg (integration)', () => {
|
||||
expect(result.output).toMatch(/size|limit|too large/i);
|
||||
});
|
||||
|
||||
it('is registered and routed through the office module dispatch', async () => {
|
||||
expect(OFFICE_TOOL_DEFS.ReadMsg).toBeDefined();
|
||||
it('is routed through the office module dispatch (merged into Read, not a catalog tool)', async () => {
|
||||
// ReadMsg was merged into Read: no longer registered in the office catalog,
|
||||
// but the extraction handler stays reachable via the internal dispatch that
|
||||
// Read uses for .msg files.
|
||||
expect(OFFICE_TOOL_DEFS.ReadMsg).toBeUndefined();
|
||||
const result = await officeExecuteTool('ReadMsg', { file_path: 'mail.msg' }, ctx());
|
||||
expect(result?.isError).toBeFalsy();
|
||||
expect(result?.output).toContain('Subject: attachmentFiles');
|
||||
|
||||
Reference in New Issue
Block a user