mirror of
https://github.com/stablyai/orca.git
synced 2026-10-18 00:03:20 +00:00
test(ai-vault): pin OpenCode malformed-row isolation (#8864)
This commit is contained in:
@@ -259,6 +259,9 @@ describe('listOpenCodeSqliteSessions', () => {
|
||||
platform: 'darwin'
|
||||
})
|
||||
expect(cleanSession?.sessionId).toBe('ses_clean')
|
||||
await expect(
|
||||
parseOpenCodeSqliteSession({ dbPath: path, sessionId: 'ses_noise', platform: 'darwin' })
|
||||
).rejects.toThrow('malformed JSON')
|
||||
})
|
||||
|
||||
it('dedups matching session ids across databases and keeps the newest row', async () => {
|
||||
|
||||
Reference in New Issue
Block a user