@tellescope/sdk 1.218.0 → 1.220.0

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.
@@ -14070,6 +14070,8 @@ var ip_address_form_tests = function () { return __awaiter(void 0, void 0, void
14070
14070
  return [4 /*yield*/, (0, testing_1.async_test)("email-image tracking endpoint is live", function () { return axios_1.default.get('http://localhost:8080/email-image/'); }, { onResult: function (result) { return result.data === TRACK_OPEN_IMAGE.toString('utf-8'); } })];
14071
14071
  case 1:
14072
14072
  _l.sent();
14073
+ (0, testing_1.assert)((0, utilities_1.truncate_string)('12345', { length: 4, showEllipsis: false }) === '1234', 'truncate doesnt work', 'trucate works');
14074
+ (0, testing_1.assert)((0, utilities_1.truncate_string)(null, { length: 4, showEllipsis: false }) === '', 'truncate doesnt work for non string', 'trucate works for non-string');
14073
14075
  _l.label = 2;
14074
14076
  case 2:
14075
14077
  _l.trys.push([2, 79, , 80]);