@mablhq/mabl-cli 2.46.0 → 2.46.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -540,7 +540,7 @@ function generatePostmanExpect(target, assertType, expectedValue, caseSensitive
540
540
  target += '?.toUpperCase().toLowerCase()';
541
541
  expectedValue = `${expectedValue !== null && expectedValue !== void 0 ? expectedValue : ''}.toUpperCase().toLowerCase()`;
542
542
  }
543
- return `pm.expect(${target}).to.${EXPECT_FUNCTIONS[assertType].replace(new RegExp(EXPECTED_VALUE_TOKEN, 'g'), expectedValue !== null && expectedValue !== void 0 ? expectedValue : '')}`;
543
+ return `pm.expect(${target}).to.${EXPECT_FUNCTIONS[assertType].replace(EXPECTED_VALUE_TOKEN, () => expectedValue !== null && expectedValue !== void 0 ? expectedValue : '')}`;
544
544
  }
545
545
  function assertionTargetSupportsCaseSensitivity(assertTarget) {
546
546
  switch (assertTarget) {