Skip to content

~95% on SimpleQA (e.g. Qwen3.6-27B on a 3090). Supports all local and cloud LLMs (llama.cpp, Ollama, Google, ...). 10+ search engines - arXiv, PubMed, your private documents. Everything Local & Encrypted.

774 B
Raw Blame
/** Contract for the deliberately disabled audio service used by progress pages. */

beforeAll(async () => {
    await import('@js/services/audio.js');
});

afterAll(() => {
    delete window.audio;
});

it('publishes the complete no-op API and never attempts playback', () => {
    expect(window.audio).toMatchObject({
        initialize: expect.any(Function),
        playSuccess: expect.any(Function),
        playError: expect.any(Function),
        play: expect.any(Function),
        test: expect.any(Function),
    });

    expect(window.audio.initialize()).toBe(false);
    expect(window.audio.playSuccess()).toBe(false);
    expect(window.audio.playError()).toBe(false);
    expect(window.audio.play()).toBe(false);
    expect(window.audio.test()).toBe(false);
});