Skip to content

armgit / kiln

Public Imported from GitHub
0

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.

585 B
Raw Blame
import test from 'node:test';
import assert from 'node:assert/strict';
import {readFile} from 'node:fs/promises';

test('Troy declares its source parser without relying on the engine root install',async()=>{
 const manifest=JSON.parse(await readFile(new URL('../package.json',import.meta.url)));
 assert.equal(manifest.devDependencies.acorn,'8.19.0');
 const bundler=await readFile(new URL('../scripts/bundle-scene.mjs',import.meta.url),'utf8');
 assert.match(bundler,/import\s*\{\s*parse\s*\}\s*from\s*['"]acorn['"]/);
 assert.doesNotMatch(bundler,/parserRootArg|createRequire/);
});