mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-21 11:49:59 +00:00
feat(Email Trigger (IMAP) Node): Option to disable last message id tracking (#17964)
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { type INodeTypeBaseDescription, type ITriggerFunctions } from 'n8n-workflow';
|
||||
import type { INode, INodeTypeBaseDescription, ITriggerFunctions } from 'n8n-workflow';
|
||||
|
||||
import { type ICredentialsDataImap } from '@credentials/Imap.credentials';
|
||||
|
||||
@@ -42,6 +42,7 @@ describe('Test IMap V2', () => {
|
||||
};
|
||||
|
||||
triggerFunctions.getCredentials.calledWith('imap').mockResolvedValue(credentials);
|
||||
triggerFunctions.getNode.mockReturnValue(mock<INode>({ typeVersion: 2.1 }));
|
||||
triggerFunctions.logger.debug = jest.fn();
|
||||
triggerFunctions.getNodeParameter.calledWith('options').mockReturnValue({
|
||||
name: 'Mark as Read',
|
||||
|
||||
Reference in New Issue
Block a user