mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
refactor: Impose import/order linting rule across nodes packages (no-changelog) (#12314)
This commit is contained in:
committed by
GitHub
parent
8c635993bd
commit
bafac73eb5
@@ -1,4 +1,5 @@
|
||||
import nock from 'nock';
|
||||
|
||||
import { executeWorkflow } from '../ExecuteWorkflow';
|
||||
import * as Helpers from '../Helpers';
|
||||
import type { WorkflowTestData } from '../types';
|
||||
|
||||
@@ -1,7 +1,8 @@
|
||||
import nock from 'nock';
|
||||
import { WorkflowExecute } from 'n8n-core';
|
||||
import type { INodeTypes, IRun, IRunExecutionData } from 'n8n-workflow';
|
||||
import { createDeferredPromise, Workflow } from 'n8n-workflow';
|
||||
import nock from 'nock';
|
||||
|
||||
import * as Helpers from './Helpers';
|
||||
import type { WorkflowTestData } from './types';
|
||||
|
||||
|
||||
@@ -1,17 +1,13 @@
|
||||
import { readFileSync, readdirSync, mkdtempSync } from 'fs';
|
||||
import path from 'path';
|
||||
import { tmpdir } from 'os';
|
||||
import nock from 'nock';
|
||||
import { isEmpty } from 'lodash';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import { get } from 'lodash';
|
||||
import { isEmpty } from 'lodash';
|
||||
import {
|
||||
BinaryDataService,
|
||||
Credentials,
|
||||
UnrecognizedNodeTypeError,
|
||||
constructExecutionMetaData,
|
||||
} from 'n8n-core';
|
||||
import { Container } from 'typedi';
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type {
|
||||
CredentialLoadingDetails,
|
||||
ICredentialDataDecryptedObject,
|
||||
@@ -39,8 +35,12 @@ import type {
|
||||
WorkflowTestData,
|
||||
} from 'n8n-workflow';
|
||||
import { ApplicationError, ICredentialsHelper, NodeHelpers, WorkflowHooks } from 'n8n-workflow';
|
||||
import { executeWorkflow } from './ExecuteWorkflow';
|
||||
import nock from 'nock';
|
||||
import { tmpdir } from 'os';
|
||||
import path from 'path';
|
||||
import { Container } from 'typedi';
|
||||
|
||||
import { executeWorkflow } from './ExecuteWorkflow';
|
||||
import { FAKE_CREDENTIALS_DATA } from './FakeCredentialsMap';
|
||||
|
||||
const baseDir = path.resolve(__dirname, '../..');
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
const pgPromise = require('pg-promise');
|
||||
|
||||
const PostgresFun = require('../../../nodes/Postgres/v1/genericFunctions');
|
||||
|
||||
type NodeParams = Record<string, string | {}>;
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
import { executeWorkflow } from '../ExecuteWorkflow';
|
||||
import * as Helpers from '../Helpers';
|
||||
import type { WorkflowTestData } from '../types';
|
||||
import { executeWorkflow } from '../ExecuteWorkflow';
|
||||
|
||||
describe('Execute Start Node', () => {
|
||||
const tests: WorkflowTestData[] = [
|
||||
|
||||
Reference in New Issue
Block a user