mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-20 11:22:15 +00:00
24 lines
613 B
TypeScript
24 lines
613 B
TypeScript
import nock from 'nock';
|
|
|
|
import { testWorkflows, getWorkflowFilenames } from '@test/nodes/Helpers';
|
|
|
|
import { credentials } from '../credentials';
|
|
|
|
describe('Azure Cosmos DB - Delete Container', () => {
|
|
const workflows = getWorkflowFilenames(__dirname).filter((filename) =>
|
|
filename.includes('delete.workflow.json'),
|
|
);
|
|
|
|
beforeEach(() => {
|
|
const { baseUrl } = credentials.microsoftAzureCosmosDbSharedKeyApi;
|
|
|
|
nock(baseUrl)
|
|
.persist()
|
|
.defaultReplyHeaders({ 'Content-Type': 'application/json' })
|
|
.delete('/colls/container1')
|
|
.reply(204, {});
|
|
});
|
|
|
|
testWorkflows(workflows, credentials);
|
|
});
|