refactor(core): Fix type errors in workflow, core, nodes-langchain, and nodes-base (no-changelog) (#9450)
This commit is contained in:
committed by
GitHub
parent
d9616fc36f
commit
2bdc459bb2
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import nock from 'nock';
|
||||
import type { IHttpRequestMethods } from 'n8n-workflow';
|
||||
|
||||
import * as move from '../../../../v2/actions/file/move.operation';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import nock from 'nock';
|
||||
import type { IHttpRequestMethods } from 'n8n-workflow';
|
||||
|
||||
import * as upload from '../../../../v2/actions/file/upload.operation';
|
||||
|
||||
|
||||
@@ -1,4 +1,5 @@
|
||||
import nock from 'nock';
|
||||
import type { IHttpRequestMethods } from 'n8n-workflow';
|
||||
|
||||
import * as search from '../../../../v2/actions/fileFolder/search.operation';
|
||||
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
@@ -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',
|
||||
|
||||
Reference in New Issue
Block a user