mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-18 18:41:14 +00:00
refactor: Run lintfix (no-changelog) (#7537)
- Fix autofixable violations - Remove unused directives - Allow for PascalCased variables - needed for dynamically imported or assigned classes, decorators, routers, etc.
This commit is contained in:
@@ -21,8 +21,6 @@ import {
|
||||
sleep,
|
||||
} from 'n8n-workflow';
|
||||
|
||||
import { keysToLowercase } from '@utils/utilities';
|
||||
|
||||
import type { OptionsWithUri } from 'request-promise-native';
|
||||
|
||||
import type { BodyParameter, IAuthDataSanitizeKeys } from '../GenericFunctions';
|
||||
@@ -35,6 +33,7 @@ import {
|
||||
replaceNullValues,
|
||||
sanitizeUiMessage,
|
||||
} from '../GenericFunctions';
|
||||
import { keysToLowercase } from '@utils/utilities';
|
||||
|
||||
function toText<T>(data: T) {
|
||||
if (typeof data === 'object' && data !== null) {
|
||||
|
||||
@@ -1,3 +1,4 @@
|
||||
import nock from 'nock';
|
||||
import {
|
||||
initBinaryDataService,
|
||||
setup,
|
||||
@@ -6,8 +7,6 @@ import {
|
||||
getWorkflowFilenames,
|
||||
} from '@test/nodes/Helpers';
|
||||
|
||||
import nock from 'nock';
|
||||
|
||||
describe('Test HTTP Request Node', () => {
|
||||
const workflows = getWorkflowFilenames(__dirname);
|
||||
const tests = workflowToTests(workflows);
|
||||
|
||||
Reference in New Issue
Block a user