mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 02:21:13 +00:00
test(Gmail Node): Add tests for Gmail node v1 (no-changelog) (#12461)
This commit is contained in:
@@ -5,15 +5,17 @@ import nock from 'nock';
|
||||
|
||||
import { testWorkflows } from '@test/nodes/Helpers';
|
||||
|
||||
import labels from './fixtures/labels.json';
|
||||
import messages from './fixtures/messages.json';
|
||||
import { getGmailAliases, getLabels, getThreadMessages } from '../../v2/loadOptions';
|
||||
import labels from '../fixtures/labels.json';
|
||||
import messages from '../fixtures/messages.json';
|
||||
|
||||
describe('Test Gmail Node v2', () => {
|
||||
beforeAll(() => {
|
||||
jest
|
||||
.useFakeTimers({ doNotFake: ['setImmediate', 'nextTick'] })
|
||||
.setSystemTime(new Date('2024-12-16 12:34:56.789Z'));
|
||||
|
||||
nock.disableNetConnect();
|
||||
});
|
||||
|
||||
describe('Messages', () => {
|
||||
|
||||
Reference in New Issue
Block a user