mirror of
https://github.com/getpaseo/paseo.git
synced 2026-11-02 22:52:58 +00:00
The command center resolved New agent through the New tab binding, so it advertised Cmd+T despite creating an agent. Resolve the target-agent binding instead and cover the mapping.
14 lines
453 B
TypeScript
14 lines
453 B
TypeScript
import { describe, expect, it } from "vitest";
|
|
import { resolveWorkspaceCommandCenterShortcuts } from "./workspace-shortcuts";
|
|
|
|
describe("resolveWorkspaceCommandCenterShortcuts", () => {
|
|
it("assigns the New agent command its own shortcut", () => {
|
|
expect(
|
|
resolveWorkspaceCommandCenterShortcuts({
|
|
overrides: {},
|
|
platform: { isMac: true, isDesktop: true },
|
|
}).newAgent,
|
|
).toEqual([["mod", "shift", "A"]]);
|
|
});
|
|
});
|