MCPcopy Index your code
hub / github.com/garrytan/gstack / sampleFiles

Function sampleFiles

browse/test/browser-skill-write.test.ts:50–58  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

48});
49
50function sampleFiles(): Map<string, string | Buffer> {
51 return new Map<string, string | Buffer>([
52 ['SKILL.md', '---\nname: test-skill\nhost: example.com\ntriggers: []\nargs: []\ntrusted: false\n---\nbody\n'],
53 ['script.ts', 'console.log("hi");\n'],
54 ['_lib/browse-client.ts', '// fake SDK\n'],
55 ['fixtures/example-com-2026-04-27.html', '<html></html>\n'],
56 ['script.test.ts', 'import { describe, it, expect } from "bun:test"; describe("x", () => { it("y", () => expect(1).toBe(1)); });\n'],
57 ]);
58}
59
60// ─── validateSkillName ──────────────────────────────────────────
61

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected