mirror of
https://github.com/Abdulazizzn/n8n-enterprise-unlocked.git
synced 2025-12-16 17:46:45 +00:00
22 lines
542 B
TypeScript
22 lines
542 B
TypeScript
import { NodeTestHarness } from '@nodes-testing/node-test-harness';
|
|
import nock from 'nock';
|
|
|
|
import { credentials } from '../credentials';
|
|
|
|
describe('Azure Cosmos DB - Delete Container', () => {
|
|
beforeEach(() => {
|
|
const { baseUrl } = credentials.microsoftAzureCosmosDbSharedKeyApi;
|
|
|
|
nock(baseUrl)
|
|
.persist()
|
|
.defaultReplyHeaders({ 'Content-Type': 'application/json' })
|
|
.delete('/colls/container1')
|
|
.reply(204, {});
|
|
});
|
|
|
|
new NodeTestHarness().setupTests({
|
|
credentials,
|
|
workflowFiles: ['delete.workflow.json'],
|
|
});
|
|
});
|