mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +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,5 +1,6 @@
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { IExecuteFunctions } from 'n8n-workflow';
|
||||
|
||||
import * as alert from '../../../v2/actions/alert';
|
||||
import * as transport from '../../../v2/transport';
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { IExecuteFunctions } from 'n8n-workflow';
|
||||
|
||||
import { SPLUNK } from '../../../v1/types';
|
||||
import * as report from '../../../v2/actions/report';
|
||||
import * as transport from '../../../v2/transport';
|
||||
import { SPLUNK } from '../../../v1/types';
|
||||
|
||||
jest.mock('../../../v2/transport', () => ({
|
||||
splunkApiJsonRequest: jest.fn(),
|
||||
|
||||
@@ -1,5 +1,6 @@
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { IExecuteFunctions } from 'n8n-workflow';
|
||||
|
||||
import * as search from '../../../v2/actions/search';
|
||||
import * as transport from '../../../v2/transport';
|
||||
|
||||
|
||||
@@ -1,8 +1,9 @@
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { IExecuteFunctions } from 'n8n-workflow';
|
||||
|
||||
import { SPLUNK } from '../../../v1/types';
|
||||
import * as user from '../../../v2/actions/user';
|
||||
import * as transport from '../../../v2/transport';
|
||||
import { SPLUNK } from '../../../v1/types';
|
||||
|
||||
jest.mock('../../../v2/transport', () => ({
|
||||
splunkApiJsonRequest: jest.fn(),
|
||||
|
||||
@@ -1,5 +1,7 @@
|
||||
import { mock } from 'jest-mock-extended';
|
||||
import type { IDataObject, IExecuteFunctions } from 'n8n-workflow';
|
||||
|
||||
import { SPLUNK } from '../../v1/types';
|
||||
import {
|
||||
formatEntry,
|
||||
extractErrorDescription,
|
||||
@@ -9,7 +11,6 @@ import {
|
||||
setReturnAllOrLimit,
|
||||
parseXml,
|
||||
} from '../../v2/helpers/utils';
|
||||
import { SPLUNK } from '../../v1/types';
|
||||
|
||||
describe('Splunk, formatEntry', () => {
|
||||
test('should format the entry correctly when doNotFormatContent is false', () => {
|
||||
|
||||
Reference in New Issue
Block a user