mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-17 18:12:04 +00:00
23 lines
505 B
TypeScript
23 lines
505 B
TypeScript
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
|
|
|
|
import { credentials } from '../credentials';
|
|
|
|
describe('Microsoft SharePoint Node', () => {
|
|
const { baseUrl } = credentials.microsoftSharePointOAuth2Api;
|
|
new NodeTestHarness().setupTests({
|
|
credentials,
|
|
workflowFiles: ['delete.workflow.json'],
|
|
nock: {
|
|
baseUrl,
|
|
mocks: [
|
|
{
|
|
method: 'delete',
|
|
path: '/sites/site1/lists/list1/items/item1',
|
|
statusCode: 204,
|
|
responseBody: {},
|
|
},
|
|
],
|
|
},
|
|
});
|
|
});
|