Skip to content

Commit 4399c38

Browse files
EtanHeycodex
andcommitted
test(web): explain router-free collapsed preview fixtures
Co-Authored-By: t3codeCodex running gpt-6.1-sol <[email protected]>
1 parent 94c61a5 commit 4399c38

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎apps/web/src/components/chat/CollapsedComposerPromptPreview.browser.test.tsx‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ it("shows quotes, file mentions, context references and skills as chips", async
4444
]}
4545
theme="light"
4646
/>,
47+
// The inert preview has no router-dependent children.
4748
{ router: false },
4849
);
4950
const { container } = screen;
@@ -69,6 +70,7 @@ it("shows quotes, file mentions, context references and skills as chips", async
6970
it("leaves unknown skills as the text the user typed", async () => {
7071
await using screen = await render(
7172
<CollapsedComposerPromptPreview prompt="run $missing now" skills={[]} theme="dark" />,
73+
// The inert preview has no router-dependent children.
7274
{ router: false },
7375
);
7476
const { container } = screen;

0 commit comments

Comments
 (0)