Fix fileRoot test: await async exportFigFile
This commit is contained in:
parent
31d614a272
commit
601dc85aa8
|
|
@ -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 })
|
||||
|
|
|
|||
Loading…
Reference in a new issue