mirror of
https://github.com/mauriceboe/TREK.git
synced 2026-12-03 09:38:54 +00:00
test(assistant): shared card tests, wiki rows and ratchets after the card packages
This commit is contained in:
@@ -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 },
|
||||
|
||||
Reference in New Issue
Block a user