Files
oneuptime/MCP/__tests__/server.test.ts

17 lines
512 B
TypeScript

import { describe, it, expect } from '@jest/globals';
describe('MCP Hello World Server', () => {
it('should have basic structure', () => {
// Basic test to ensure the test setup works
expect(true).toBe(true);
});
it('should export required tools', () => {
// Test for tool definitions
const expectedTools = ['hello', 'get_time', 'echo'];
expect(expectedTools).toContain('hello');
expect(expectedTools).toContain('get_time');
expect(expectedTools).toContain('echo');
});
});