test(ai-toolbar): isolate split suites and action coverage

This commit is contained in:
2026-04-23 05:52:48 -04:00
parent bd08e9fc63
commit 2590e1dbaf
5 changed files with 143 additions and 10 deletions

View File

@@ -1,11 +1,11 @@
import { describe, expect, mock, test } from "bun:test";
import {
createTextareaKeydownEvent,
registerAIToolbarTestHooks,
registerAIToolbarMarkupHooks,
renderToolbarBoundary,
} from "./helpers/ai-toolbar-test-helpers";
registerAIToolbarTestHooks();
registerAIToolbarMarkupHooks();
describe("AI toolbar keyboard shortcuts", () => {
test("Ctrl+Enter triggers AI generation when the prompt has content", async () => {