Private AI meeting notes that stay on your computer. No meeting bot. Free and open source for Mac, Windows and Linux. An alternative to Granola, Otter and Fireflies.
TypeScript ai-meeting-assistantai-notetakerelectrongranola-alternativelinuxllama-cpplocal-ailocal-firstmacosmcpmeeting-minutesmeeting-notesoffline-firstopen-sourceprivacyspeech-to-texttranscriptionwhisperwhisper-cppwindows
import { expect, it } from 'vitest'
import { createElement } from 'react'
import { renderToStaticMarkup } from 'react-dom/server'
import { RecordingSetting } from '../src/renderer/src/screens/Settings'
const row = (reveal = false, disabled = false) => renderToStaticMarkup(createElement(RecordingSetting, { on: true, reveal, disabled, onChange: async () => {} }))
it('highlights a revealed recording setting only when it is ready', () => {
expect(row(true)).toContain('class="settings-row settings-reveal"')
expect(row()).not.toContain('settings-reveal')
expect(row(true, true)).not.toContain('settings-reveal')
})
it('names audio recordings in the visible label and switch label', () => {
const html = row()
expect(html).toContain('>Keep audio recordings after meetings</p>')
expect(html).toContain('aria-label="Keep audio recordings after meetings"')
})