fix(types): allow File or ChangeEvent in handleFileUpload and ensure safe localStorage in userStore
This commit is contained in:
1 parent
c1b2f416ed
commit
7e072793eb
4 files changed
+14
-54
No files matched your search
@@ -79,6 +79,7 @@ describe('userStore', () => {
|
||||
|
||||
vi.mocked(authService.getProfile).mockResolvedValue(mockProfileData);
|
||||
|
||||
(globalThis as any)._testToken = 'test-token';
|
||||
const store = useUserStore.getState();
|
||||
await store.fetchProfile();
|
||||
|
||||
|
||||
Reference in new issue
Block a user