refactor(core): Fix type errors in workflow, core, nodes-langchain, and nodes-base (no-changelog) (#9450)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2024-05-22 17:40:52 +02:00
committed by GitHub
parent d9616fc36f
commit 2bdc459bb2
98 changed files with 126 additions and 156 deletions

View File

@@ -36,7 +36,7 @@ describe('test GoogleDriveV2: drive create', () => {
jest.unmock('../../../../v2/transport');
});
it('shuold be called with', async () => {
it('should be called with', async () => {
const nodeParameters = {
resource: 'drive',
name: 'newDrive',

View File

@@ -26,7 +26,7 @@ describe('test GoogleDriveV2: drive deleteDrive', () => {
jest.unmock('../../../../v2/transport');
});
it('shuold be called with', async () => {
it('should be called with', async () => {
const nodeParameters = {
resource: 'drive',
operation: 'deleteDrive',

View File

@@ -26,7 +26,7 @@ describe('test GoogleDriveV2: drive get', () => {
jest.unmock('../../../../v2/transport');
});
it('shuold be called with', async () => {
it('should be called with', async () => {
const nodeParameters = {
resource: 'drive',
operation: 'get',

View File

@@ -1,4 +1,5 @@
import nock from 'nock';
import type { IHttpRequestMethods } from 'n8n-workflow';
import * as list from '../../../../v2/actions/drive/list.operation';
@@ -33,7 +34,7 @@ describe('test GoogleDriveV2: drive list', () => {
jest.unmock('../../../../v2/transport');
});
it('shuold be called with limit', async () => {
it('should be called with limit', async () => {
const nodeParameters = {
resource: 'drive',
operation: 'list',
@@ -54,7 +55,7 @@ describe('test GoogleDriveV2: drive list', () => {
);
});
it('shuold be called with returnAll true', async () => {
it('should be called with returnAll true', async () => {
const nodeParameters = {
resource: 'drive',
operation: 'list',

View File

@@ -26,7 +26,7 @@ describe('test GoogleDriveV2: drive update', () => {
jest.unmock('../../../../v2/transport');
});
it('shuold be called with', async () => {
it('should be called with', async () => {
const nodeParameters = {
resource: 'drive',
operation: 'update',

View File

@@ -1,4 +1,5 @@
import nock from 'nock';
import type { IHttpRequestMethods } from 'n8n-workflow';
import * as move from '../../../../v2/actions/file/move.operation';

View File

@@ -1,4 +1,5 @@
import nock from 'nock';
import type { IHttpRequestMethods } from 'n8n-workflow';
import * as upload from '../../../../v2/actions/file/upload.operation';

View File

@@ -1,4 +1,5 @@
import nock from 'nock';
import type { IHttpRequestMethods } from 'n8n-workflow';
import * as search from '../../../../v2/actions/fileFolder/search.operation';

View File

@@ -26,7 +26,7 @@ describe('test GoogleDriveV2: folder create', () => {
jest.unmock('../../../../v2/transport');
});
it('shuold be called with', async () => {
it('should be called with', async () => {
const nodeParameters = {
resource: 'folder',
name: 'testFolder 2',

View File

@@ -26,7 +26,7 @@ describe('test GoogleDriveV2: folder deleteFolder', () => {
jest.unmock('../../../../v2/transport');
});
it('shuold be called with PATCH', async () => {
it('should be called with PATCH', async () => {
const nodeParameters = {
resource: 'folder',
operation: 'deleteFolder',
@@ -52,7 +52,7 @@ describe('test GoogleDriveV2: folder deleteFolder', () => {
);
});
it('shuold be called with DELETE', async () => {
it('should be called with DELETE', async () => {
const nodeParameters = {
resource: 'folder',
operation: 'deleteFolder',

View File

@@ -26,7 +26,7 @@ describe('test GoogleDriveV2: folder share', () => {
jest.unmock('../../../../v2/transport');
});
it('shuold be called with', async () => {
it('should be called with', async () => {
const nodeParameters = {
resource: 'folder',
operation: 'share',