fix(ui): purge empty phantom sessions on startup (#9651)
Signed-off-by: Varun Nuthalapati <nuthalapativarun@gmail.com> Co-authored-by: Douwe M Osinga <douwe@sidewalklabs.com>
This commit is contained in:
@@ -34,6 +34,11 @@ vi.mock('./utils/costDatabase', () => ({
|
||||
initializeCostDatabase: vi.fn().mockResolvedValue(undefined),
|
||||
}));
|
||||
|
||||
vi.mock('./acp/sessions', () => ({
|
||||
acpListSessions: vi.fn().mockResolvedValue({ sessions: [], nextCursor: null }),
|
||||
acpDeleteSession: vi.fn().mockResolvedValue(undefined),
|
||||
}));
|
||||
|
||||
vi.mock('./sessions', () => ({
|
||||
fetchSessionDetails: vi
|
||||
.fn()
|
||||
|
||||
Reference in New Issue
Block a user