mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 10:02:05 +00:00
refactor: Overhaul nodes-testing setup - Part 2 (no-changelog) (#14873)
This commit is contained in:
committed by
GitHub
parent
897338bd24
commit
91069f057e
@@ -2,7 +2,8 @@
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { type INodeTypeBaseDescription, type ITriggerFunctions } from 'n8n-workflow';
|
||||
|
||||
import { type ICredentialsDataImap } from '../../../../credentials/Imap.credentials';
|
||||
import { type ICredentialsDataImap } from '@credentials/Imap.credentials';
|
||||
|
||||
import { EmailReadImapV2 } from '../../v2/EmailReadImapV2.node';
|
||||
|
||||
jest.mock('@n8n/imap', () => {
|
||||
|
||||
@@ -17,9 +17,10 @@ import type {
|
||||
import { NodeConnectionTypes, NodeOperationError, TriggerCloseError } from 'n8n-workflow';
|
||||
import rfc2047 from 'rfc2047';
|
||||
|
||||
import type { ICredentialsDataImap } from '@credentials/Imap.credentials';
|
||||
import { isCredentialsDataImap } from '@credentials/Imap.credentials';
|
||||
|
||||
import { getNewEmails } from './utils';
|
||||
import type { ICredentialsDataImap } from '../../../credentials/Imap.credentials';
|
||||
import { isCredentialsDataImap } from '../../../credentials/Imap.credentials';
|
||||
|
||||
const versionDescription: INodeTypeDescription = {
|
||||
displayName: 'Email Trigger (IMAP)',
|
||||
|
||||
Reference in New Issue
Block a user