Skip to content

The all-in-one local AI studio for your desktop: chat, image and video generation and a coding agent in one free, open source app. Windows and Linux. No Docker, no terminal, no cloud required.

347 B
Raw Blame
import { expect, it } from 'vitest'
import { compareAndSetIdbItem } from '../idbStorage'

it('refuses an unconfirmed localStorage fallback when IndexedDB is unavailable', async () => {
  await expect(compareAndSetIdbItem('memory-proof', null, 'private fixture', () => true))
    .rejects.toThrow('Could not commit synchronized memory storage')
})