@labnex/cli
Version:
CLI for Labnex, an AI-Powered Testing Automation Platform
12 lines • 391 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.extractQuotedText = extractQuotedText;
function extractQuotedText(step) {
const quotedTextPattern = /(['"])(.*?)\1/;
const match = step.match(quotedTextPattern);
if (match && match[2]) {
return match[2].trim();
}
return undefined;
}
//# sourceMappingURL=extractQuotedText.js.map