refactor(auth): remove apple login status

This commit is contained in:
2026-07-09 17:25:16 +08:00
parent 6bc14ab799
commit c594e55fd3
5 changed files with 4 additions and 7 deletions
@@ -24,7 +24,7 @@ describe("getInsufficientCreditsMessageLimitView", () => {
});
});
it.each(["email", "facebook", "google", "apple"] as const)(
it.each(["email", "facebook", "google"] as const)(
"asks %s users to top up credits",
(loginStatus) => {
expect(getInsufficientCreditsMessageLimitView(loginStatus)).toEqual({
@@ -40,7 +40,7 @@ describe("shouldShowFirstRechargeOfferBanner", () => {
expect(
shouldShowFirstRechargeOfferBanner({
historyLoaded: true,
loginStatus: "apple",
loginStatus: "email",
isFirstRecharge: true,
dismissed: true,
}),
@@ -10,7 +10,7 @@ describe("isPrivateRoomAuthRequired", () => {
},
);
it.each(["email", "facebook", "google", "apple"] as const)(
it.each(["email", "facebook", "google"] as const)(
"allows %s users to top up directly",
(loginStatus) => {
expect(isPrivateRoomAuthRequired(loginStatus)).toBe(false);