/* eslint-disable @typescript-eslint/no-explicit-any, @typescript-eslint/no-namespace */ // Load type definitions that come with Cypress module /// declare global { namespace Cypress { // eslint-disable-next-line @typescript-eslint/no-unused-vars interface Chainable { uninstallModule(moduleSymbolicName: string): Chainable> } } } export const uninstallModule = function (moduleSymbolicName: string): void { cy.runProvisioningScript({ script: { fileContent: '- uninstallModule: "' + moduleSymbolicName + '"\n', type: 'application/yaml' } }); };