Update hivegrid-cloud reference to latest main
Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
1 parent
e98d38e716
commit
7b21524c86
3781 files changed
+373484
-225607
No files matched your search
+2
-2
@@ -45,9 +45,9 @@ describe("deleteUserWithItsTenants", () => {
|
||||
});
|
||||
|
||||
it("does not delete the user if tenant cancellation fails", async () => {
|
||||
vi.mocked(deleteAndCancelTenant).mockRejectedValueOnce(new Error("stripe unavailable") as never);
|
||||
vi.mocked(deleteAndCancelTenant).mockRejectedValueOnce(new Error("billing unavailable") as never);
|
||||
|
||||
await expect(deleteUserWithItsTenants("user_1")).rejects.toThrow("stripe unavailable");
|
||||
await expect(deleteUserWithItsTenants("user_1")).rejects.toThrow("billing unavailable");
|
||||
expect(deleteUser).not.toHaveBeenCalled();
|
||||
});
|
||||
});
|
||||
Reference in new issue
Block a user