Skip to main content
Glama
demo.test.ts490 B
import { HelloWorld } from '../src/demo/HelloWorld'; describe('HelloWorld', () => { let helloWorld: HelloWorld; beforeEach(() => { helloWorld = new HelloWorld(); }); it('should return default greeting', () => { expect(helloWorld.getGreeting()).toBe('Hello, World!'); }); it('should set and return custom greeting', () => { helloWorld.setGreeting('Hello, Test!'); expect(helloWorld.getGreeting()).toBe('Hello, Test!'); }); });

Latest Blog Posts

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/fist-maestro/mcp-servers'

If you have feedback or need assistance with the MCP directory API, please join our Discord server