Build and revise procedural 3D assets with your coding agent. Local MCP server, CLI and TypeScript engine with rendered review, editable source and GLB export.
JavaScript 3d3d-assets3d-modelingagent-skillsagent-toolsai-agentsasset-pipelinecligame-assetsglbgltfmcpmcp-servermodel-context-protocolprocedural-generationprocedural-modelingtext-to-3dthreejstypescript
fix(scripts): resolve coverage-checker path portably in its test (#8)
Matthew Kissinger892b5792b3d4
diff --git a/scripts/check-coverage.test.mjs b/scripts/check-coverage.test.mjsindex 92828397..34462139 100644--- a/scripts/check-coverage.test.mjs+++ b/scripts/check-coverage.test.mjs@@ -3,8 +3,11 @@ import { spawnSync } from 'node:child_process';import { mkdtemp, rm, writeFile } from 'node:fs/promises';import { tmpdir } from 'node:os';import { join } from 'node:path';+import { fileURLToPath } from 'node:url';-const checker = new URL('./check-coverage.mjs', import.meta.url).pathname;+// URL#pathname keeps a leading slash before Windows drive letters ("/C:/...");+// fileURLToPath is the portable conversion.+const checker = fileURLToPath(new URL('./check-coverage.mjs', import.meta.url));async function fixture(thresholds) {const directory = await mkdtemp(join(tmpdir(), 'kiln-coverage-'));