const assert = require("assert"); Feature("OCR scenarios"); const createConfig = ({ shapes = ["Rectangle"], textareaProps = "" } = {}) => { return ` ${shapes .map((shapeName) => `<${shapeName} name="image${shapeName}" toName="image"/>`) .join(` `)}