chore: import clean Agent Desk snapshot (6/7)

This commit is contained in:
2026-10-16 12:02:48 +00:00
parent d215bf6303
commit 756ae33d05
278 changed files with 53808 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
import assert from "node:assert/strict"
import { readFile } from "node:fs/promises"
import { describe, it } from "node:test"
const source = await readFile(
new URL("./conversation-switcher.tsx", import.meta.url),
"utf8"
)
describe("support chat conversation switcher", () => {
it("imports DropdownMenuGroup from dropdown-menu primitives", () => {
assert.match(source, /DropdownMenuGroup/)
})
it("wraps DropdownMenuLabel inside DropdownMenuGroup to satisfy Base UI context (Error #31 prevention)", () => {
assert.match(
source,
/<DropdownMenuGroup>[\s\S]*<DropdownMenuLabel[\s\S]*<\/DropdownMenuLabel>[\s\S]*<\/DropdownMenuGroup>/
)
})
})