feat(account): polish reviews favorites and account UI

This commit is contained in:
2026-05-29 21:34:42 +08:00
parent abeb511c06
commit 439af8c26f
40 changed files with 3158 additions and 250 deletions
+2
View File
@@ -19,6 +19,7 @@ describe("authState", () => {
username: "momen",
displayName: "Momen",
avatarUrl: "https://bbs.spark-app.store/avatar.png",
coverUrl: "https://bbs.spark-app.store/assets/covers/user.jpg",
forumLevel: "管理员",
forumGroups: ["管理员"],
},
@@ -26,6 +27,7 @@ describe("authState", () => {
expect(authSession.value?.accessToken).toBe("jwt");
expect(currentUser.value?.displayName).toBe("Momen");
expect(currentUser.value?.coverUrl).toContain("/assets/covers/");
expect(isLoggedIn.value).toBe(true);
expect(
JSON.parse(localStorage.getItem("spark-store-auth") || "{}").accessToken,