import { equalityTest, workflowToTests } from '@test/nodes/Helpers'; describe('Azure Storage Node', () => { const workflows = [ 'nodes/Microsoft/Storage/test/workflows/container_getAllLimitOptions.workflow.json', ]; const workflowTests = workflowToTests(workflows); describe('should get all containers with limit and options', () => { for (const workflow of workflowTests) { workflow.nock = { baseUrl: 'https://myaccount.blob.core.windows.net', mocks: [ { method: 'get', path: '/?comp=list&maxresults=1&include=metadata%2Cdeleted%2Csystem&prefix=mycontainer', statusCode: 200, responseBody: 'mycontainer1mycontainer1true01DB7228F6BEE6E7Wed, 29 Jan 2025 08:37:00 GMT"0x8DD40401935032C"unlockedexpiredfalsefalsefalseWed, 29 Jan 2025 08:38:21 GMT7value1mycontainer2', }, ], }; test(workflow.description, async () => await equalityTest(workflow)); } }); });