Skip to main content
Glama
noop-set.test.js414 B
'use strict' const { test } = require('node:test') const noopSet = require('../lib/noop-set') test('does a lot of nothing', async t => { const aSet = noopSet() t.assert.ok(aSet, 'object') const item = {} aSet.add(item) aSet.add({ another: 'item' }) aSet.delete(item) t.assert.strictEqual(aSet.has(item), true) for (const i of aSet) { t.assert.fail('should not have any items: ' + i) } })

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