diff --git a/packages/nodes-base/nodes/Google/Gmail/test/v1/GmailV1.node.test.ts b/packages/nodes-base/nodes/Google/Gmail/test/v1/GmailV1.node.test.ts index cb78670c37..4a439d2028 100644 --- a/packages/nodes-base/nodes/Google/Gmail/test/v1/GmailV1.node.test.ts +++ b/packages/nodes-base/nodes/Google/Gmail/test/v1/GmailV1.node.test.ts @@ -5,9 +5,9 @@ import nock from 'nock'; import { testWorkflows } from '@test/nodes/Helpers'; +import { getLabels } from '../../v1/loadOptions'; import labels from '../fixtures/labels.json'; import messages from '../fixtures/messages.json'; -import { getLabels } from '../../v1/loadOptions'; describe('Test Gmail Node v1', () => { beforeAll(() => { diff --git a/packages/nodes-base/nodes/Google/Gmail/test/v2/GmailV2.node.test.ts b/packages/nodes-base/nodes/Google/Gmail/test/v2/GmailV2.node.test.ts index d230806cab..47960a7a3a 100644 --- a/packages/nodes-base/nodes/Google/Gmail/test/v2/GmailV2.node.test.ts +++ b/packages/nodes-base/nodes/Google/Gmail/test/v2/GmailV2.node.test.ts @@ -5,9 +5,9 @@ import nock from 'nock'; import { testWorkflows } from '@test/nodes/Helpers'; +import { getGmailAliases, getLabels, getThreadMessages } from '../../v2/loadOptions'; import labels from '../fixtures/labels.json'; import messages from '../fixtures/messages.json'; -import { getGmailAliases, getLabels, getThreadMessages } from '../../v2/loadOptions'; describe('Test Gmail Node v2', () => { beforeAll(() => { diff --git a/packages/nodes-base/nodes/Google/Gmail/v1/GmailV1.node.ts b/packages/nodes-base/nodes/Google/Gmail/v1/GmailV1.node.ts index f063d44534..afc8e76a4f 100644 --- a/packages/nodes-base/nodes/Google/Gmail/v1/GmailV1.node.ts +++ b/packages/nodes-base/nodes/Google/Gmail/v1/GmailV1.node.ts @@ -15,6 +15,7 @@ import { oldVersionNotice } from '@utils/descriptions'; import { draftFields, draftOperations } from './DraftDescription'; import { labelFields, labelOperations } from './LabelDescription'; +import { getLabels } from './loadOptions'; import { messageFields, messageOperations } from './MessageDescription'; import { messageLabelFields, messageLabelOperations } from './MessageLabelDescription'; import type { IEmail } from '../../../../utils/sendAndWait/interfaces'; @@ -25,7 +26,6 @@ import { googleApiRequestAllItems, parseRawEmail, } from '../GenericFunctions'; -import { getLabels } from './loadOptions'; const versionDescription: INodeTypeDescription = { displayName: 'Gmail',