Skip to main content
Glama
by microsoft
clone.test.ts524 B
import { cleanedClone } from "./clone" import { describe, test } from "node:test" import assert from "node:assert/strict" describe("cleanedClone", () => { test("clones and cleans simple object", () => { const input: any = { a: 1, b: "", c: null, d: undefined, e: 0, } const expected = { a: 1, e: 0, } const result = cleanedClone(input) assert.deepStrictEqual(result, expected) }) })

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/microsoft/genaiscript'

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