Skip to main content
Glama
twice-done.test.js349 B
'use strict' const { test } = require('tap') const boot = require('..') test('calling done twice does not throw error', (t) => { t.plan(2) const app = boot() app .use(twiceDone) .ready((err) => { t.notOk(err, 'no error') }) function twiceDone (s, opts, done) { done() done() t.pass('did not throw') } })

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/krtw00/search-mcp'

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