import { renderToStaticMarkup } from "react-dom/server";
import { describe, expect, it } from "vitest";
import { MessageHoverMetadata } from "./MessageHoverMetadata";
describe("MessageHoverMetadata", () => {
it("places bot actions flush to the right of the bubble", () => {
const html = renderToStaticMarkup(
,
);
expect(html).toContain('data-testid="message-hover-rail"');
expect(html).toContain("start-full");
expect(html).toContain("ms-1");
expect(html).toContain("top-1/2");
expect(html).toContain("-translate-y-1/2");
expect(html).not.toContain("ms-1.5");
expect(html).not.toContain("bottom-0");
expect(html).not.toContain("