Skip to main content
Glama
examples_testing.md.Dek4GpNs.lean.js1.01 kB
import{_ as n,c as a,o as r,j as e,a as t}from"./chunks/framework.CHl2ywxc.js";const g=JSON.parse('{"title":"Testing Patterns","description":"","frontmatter":{"title":"Testing Patterns"},"headers":[],"relativePath":"examples/testing.md","filePath":"examples/testing.md","lastUpdated":1755281500000}'),l={name:"examples/testing.md"};function i(o,s,p,d,c,m){return r(),a("div",null,s[0]||(s[0]=[e("h1",{id:"example-testing-patterns",tabindex:"-1"},[t("Example: Testing Patterns "),e("a",{class:"header-anchor",href:"#example-testing-patterns","aria-label":'Permalink to "Example: Testing Patterns"'},"​")],-1),e("p",null,[t("Use "),e("code",null,"/tests"),t(" as the primary reference. This example demonstrates configuring Node vs Workers test environments and using utilities in "),e("code",null,"_utils"),t(".")],-1),e("p",null,"Run",-1),e("ul",null,[e("li",null,[e("code",null,"npm run test"),t(" or target specific suites.")])],-1)]))}const x=n(l,[["render",i]]);export{g as __pageData,x as default};

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/Jakedismo/master-mcp-server'

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