fix(app): a failed account reload clears the own grant rows
Delta verifier note: the catch kept earlier catalogGrants beside status failed, against the field's doc; now emptied, test extended.
This commit is contained in:
1 parent
cea0f1cfec
commit
5db85ff19f
2 files changed
+4
-1
No files matched your search
@@ -240,6 +240,7 @@ describe('authStore', () => {
|
||||
await flush()
|
||||
await flush()
|
||||
expect(useAuthStore.getState().catalogGrantsStatus).toBe('failed')
|
||||
expect(useAuthStore.getState().catalogGrants).toEqual([])
|
||||
})
|
||||
|
||||
it('reports a failed read as an error kind and reads again on refresh', async () => {
|
||||
|
||||
Reference in new issue
Block a user