this repo has no description
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

at main 22 lines 619 B view raw
1/** 2 * Tests for Letta client module 3 */ 4 5import { test, expect, describe } from 'bun:test'; 6import { getLettaClient } from './letta'; 7 8describe('Letta client', () => { 9 test('getLettaClient returns a Letta instance', () => { 10 const client = getLettaClient(); 11 expect(client).toBeDefined(); 12 expect(client.agents).toBeDefined(); 13 expect(client.models).toBeDefined(); 14 expect(client.tools).toBeDefined(); 15 }); 16 17 test('getLettaClient returns the same instance (singleton)', () => { 18 const client1 = getLettaClient(); 19 const client2 = getLettaClient(); 20 expect(client1).toBe(client2); 21 }); 22});