Skip to main content
Glama
mocha-sample.test.js582 B
// Sample Mocha test file for testing test runner const assert = require('assert'); describe('Sample Mocha Tests', function () { it('passing test', function () { assert.strictEqual(1 + 1, 2); }); it('another passing test', function () { assert.strictEqual('hello', 'hello'); }); it('failing test', function () { assert.strictEqual(1 + 1, 3); }); }); describe('Math Operations', function () { it('addition works', function () { assert.strictEqual(2 + 2, 4); }); it('subtraction works', function () { assert.strictEqual(5 - 3, 2); }); });

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/Digital-Defiance/mcp-debugger-server'

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