test(assistant): shared card tests, wiki rows and ratchets after the card packages

This commit is contained in:
Maurice
2026-10-22 15:50:57 +02:00
parent 0f5ecb70a2
commit fd01a090fc
16 changed files with 329 additions and 85 deletions
@@ -304,8 +304,8 @@ describe('messageBlocks: found places and weather', () => {
});
describe('messageBlocks: cards', () => {
const ROUTE: TrekCard = { kind: 'tourRoute' };
const LIST: TrekCard = { kind: 'tourList' };
const ROUTE = { kind: 'tourRoute' } as TrekCard;
const LIST = { kind: 'tourList' } as TrekCard;
const card = (toolCallId: string, value: TrekCard | null): AssistantMessagePart => ({
type: 'data-trek-card',
data: { toolCallId, card: value },