MCPcopy Index your code
hub / github.com/ChatLab/ChatLab / createTempDir

Function createTempDir

tests/chart-runtime/render-chart.integration.test.ts:20–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

18}
19
20function createTempDir(): string {
21 return mkdtempSync(path.join(tmpdir(), 'chatlab-chart-runtime-'))
22}
23
24function getChart(result: Awaited<ReturnType<typeof renderChartTool.handler>>): ChartPayload {
25 assert.ok(result.chart, 'expected render_chart to return a chart payload')

Calls

no outgoing calls

Tested by

no test coverage detected