refactor: Overhaul nodes-testing setup - Part 2 (no-changelog) (#14873)

This commit is contained in:
कारतोफ्फेलस्क्रिप्ट™
2025-04-24 17:37:26 +02:00
committed by GitHub
parent 897338bd24
commit 91069f057e
119 changed files with 556 additions and 1002 deletions

View File

@@ -2,6 +2,8 @@ import nock from 'nock';
import { testWorkflows } from '@test/nodes/Helpers';
import { credentials } from '../../../credentials';
describe('Test MicrosoftExcelV2, table => addTable', () => {
nock('https://graph.microsoft.com/v1.0/me')
.post(
@@ -23,5 +25,5 @@ describe('Test MicrosoftExcelV2, table => addTable', () => {
});
const workflows = ['nodes/Microsoft/Excel/test/v2/node/table/addTable.workflow.json'];
testWorkflows(workflows);
testWorkflows(workflows, credentials);
});

View File

@@ -2,6 +2,8 @@ import nock from 'nock';
import { testWorkflows } from '@test/nodes/Helpers';
import { credentials } from '../../../credentials';
describe('Test MicrosoftExcelV2, table => append', () => {
nock('https://graph.microsoft.com/v1.0/me')
.get(
@@ -24,5 +26,5 @@ describe('Test MicrosoftExcelV2, table => append', () => {
.reply(200);
const workflows = ['nodes/Microsoft/Excel/test/v2/node/table/append.workflow.json'];
testWorkflows(workflows);
testWorkflows(workflows, credentials);
});

View File

@@ -2,6 +2,8 @@ import nock from 'nock';
import { testWorkflows } from '@test/nodes/Helpers';
import { credentials } from '../../../credentials';
describe('Test MicrosoftExcelV2, table => convertToRange', () => {
nock('https://graph.microsoft.com/v1.0/me')
.post(
@@ -19,5 +21,5 @@ describe('Test MicrosoftExcelV2, table => convertToRange', () => {
});
const workflows = ['nodes/Microsoft/Excel/test/v2/node/table/convertToRange.workflow.json'];
testWorkflows(workflows);
testWorkflows(workflows, credentials);
});

View File

@@ -2,6 +2,8 @@ import nock from 'nock';
import { testWorkflows } from '@test/nodes/Helpers';
import { credentials } from '../../../credentials';
describe('Test MicrosoftExcelV2, table => deleteTable', () => {
nock('https://graph.microsoft.com/v1.0/me')
.delete(
@@ -10,5 +12,5 @@ describe('Test MicrosoftExcelV2, table => deleteTable', () => {
.reply(200);
const workflows = ['nodes/Microsoft/Excel/test/v2/node/table/deleteTable.workflow.json'];
testWorkflows(workflows);
testWorkflows(workflows, credentials);
});

View File

@@ -2,6 +2,8 @@ import nock from 'nock';
import { testWorkflows } from '@test/nodes/Helpers';
import { credentials } from '../../../credentials';
describe('Test MicrosoftExcelV2, table => getColumns', () => {
nock('https://graph.microsoft.com/v1.0/me')
.get(
@@ -21,5 +23,5 @@ describe('Test MicrosoftExcelV2, table => getColumns', () => {
.reply(200, { value: [] });
const workflows = ['nodes/Microsoft/Excel/test/v2/node/table/getColumns.workflow.json'];
testWorkflows(workflows);
testWorkflows(workflows, credentials);
});

View File

@@ -2,6 +2,8 @@ import nock from 'nock';
import { testWorkflows } from '@test/nodes/Helpers';
import { credentials } from '../../../credentials';
describe('Test MicrosoftExcelV2, table => getRows', () => {
nock('https://graph.microsoft.com/v1.0/me')
.get(
@@ -30,5 +32,5 @@ describe('Test MicrosoftExcelV2, table => getRows', () => {
.reply(200, { value: [] });
const workflows = ['nodes/Microsoft/Excel/test/v2/node/table/getRows.workflow.json'];
testWorkflows(workflows);
testWorkflows(workflows, credentials);
});

View File

@@ -2,6 +2,8 @@ import nock from 'nock';
import { testWorkflows } from '@test/nodes/Helpers';
import { credentials } from '../../../credentials';
describe('Test MicrosoftExcelV2, table => lookup', () => {
nock('https://graph.microsoft.com/v1.0/me')
.get(
@@ -38,5 +40,5 @@ describe('Test MicrosoftExcelV2, table => lookup', () => {
.reply(200, { value: [] });
const workflows = ['nodes/Microsoft/Excel/test/v2/node/table/lookup.workflow.json'];
testWorkflows(workflows);
testWorkflows(workflows, credentials);
});