@tellescope/sdk 1.45.9 → 1.46.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.
@@ -1981,7 +1981,7 @@ var users_tests = function () { return __awaiter(void 0, void 0, void 0, functio
1981
1981
  case 2:
1982
1982
  _a.sent();
1983
1983
  /* Update user tests */
1984
- return [4 /*yield*/, async_test("update user (non-admin, other user)", function () { return sdkNonAdmin.api.users.updateOne(sdk.userInfo.id, { fname: randomFieldValue }); }, { shouldError: true, onError: function (e) { return e.message === "Only admin users can update others' profiles"; } })];
1984
+ return [4 /*yield*/, async_test("update user (non-admin, other user)", function () { return sdkNonAdmin.api.users.updateOne(sdk.userInfo.id, { fname: randomFieldValue }); }, handleAnyError)];
1985
1985
  case 3:
1986
1986
  /* Update user tests */
1987
1987
  _a.sent();