Skip to content

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.

585 B
Raw Blame
import { describe, expect, it } from 'vitest'
import { watchArgs } from '../src/main/callNames/watch'

describe('watchArgs: what the call watch is asked to read', () => {
  it('names the processes on the mic when they are known, so only that meeting is read (#98)', () => {
    expect(watchArgs(['us.zoom.xos'], [501, 777])).toEqual(['call-watch', '400', '--pid', '501', '--pid', '777', 'us.zoom.xos'])
    expect(watchArgs(['us.zoom.xos'])).toEqual(['call-watch', '400', 'us.zoom.xos'])
    expect(watchArgs(['us.zoom.xos'], [])).toEqual(['call-watch', '400', 'us.zoom.xos'])
  })
})