fix: the brand color setting does not take effect (#4405)

This commit is contained in:
Vben
2024-09-14 21:35:12 +08:00
committed by GitHub
parent 38fe6426a2
commit c3d0102cda
14 changed files with 39 additions and 37 deletions

View File

@@ -24,7 +24,7 @@ describe('useUserStore', () => {
expect(store.userInfo).not.toBeNull();
expect(store.userRoles.length).toBeGreaterThan(0);
store.setUserInfo(null as any); // 重置用户信息
store.setUserInfo(null as any);
expect(store.userInfo).toBeNull();
expect(store.userRoles).toEqual([]);
});