Skip to main content
Glama
runkit.cjs•355 B
const fc = require('fast-check'); // Function under test function isSubstring(pattern, text) { return text.indexOf(pattern) !== -1; } // Property based test fc.assert( fc.property(fc.string(), fc.string(), fc.string(), (a, b, c) => { // For any a, b, c strings // b is a substring of a + b + c return isSubstring(b, a + b + c); }), );

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-screenshot'

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