Fix fileRoot test: await async exportFigFile

This commit is contained in:
Danila Poyarkov 2026-03-03 17:19:49 +03:00
parent 31d614a272
commit 601dc85aa8

View file

@ -296,7 +296,7 @@ describe('MCP server', () => {
const outsidePath = join(tmpdir(), `outside-${Date.now()}.fig`)
const graph = new SceneGraph()
const bytes = exportFigFile(graph)
const bytes = await exportFigFile(graph)
await writeFile(insidePath, new Uint8Array(bytes))
const custom = await createLinkedClient({ fileRoot: rootDir })