feat: enhance import session handling by adding session UUID to commitImport function

This commit is contained in:
Wikid82
2025-11-22 15:58:12 -05:00
parent 185121d9f0
commit 8a60325464
6 changed files with 16 additions and 5 deletions

View File

@@ -143,7 +143,7 @@ describe('useImport', () => {
await result.current.commit({ 'test.com': 'skip' })
})
expect(api.commitImport).toHaveBeenCalledWith({ 'test.com': 'skip' })
expect(api.commitImport).toHaveBeenCalledWith('session-2', { 'test.com': 'skip' })
await waitFor(() => {
expect(result.current.session).toBeNull()