Skip to content

armgit / cindy

Public Imported from GitHub
0

Consider it done. The open-source AI agent that works out of the box · 想到,就能做到。开源、开箱即用的 AI Agent。

477 B
Raw Blame
import { describe, expect, it } from 'vitest';

import { resolveNewMakerMenuCommand } from '../applicationMenuCommands';

describe('resolveNewMakerMenuCommand', () => {
  it('keeps mouse menu clicks semantic and routes only accelerators contextually', () => {
    expect(resolveNewMakerMenuCommand(false)).toBe('new-maker');
    expect(resolveNewMakerMenuCommand(undefined)).toBe('new-maker');
    expect(resolveNewMakerMenuCommand(true)).toBe('new-maker-shortcut');
  });
});