test: import world transform helpers from scene graph

This commit is contained in:
Danila Poyarkov 2026-06-12 00:02:00 +03:00
parent 5487f659da
commit bb7e62117f
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
export * from './images'
export * from './snap'
export * from './export-scale'
export * from './coordinate'
export * from './geometry'
export { default as TransformMatrix } from './matrix'
export type { Mat3 } from './matrix'

View file

@ -7,7 +7,7 @@
*/
import { describe, expect, test } from 'bun:test'
import { getWorldMatrix, SceneGraph, TransformMatrix } from '@open-pencil/core'
import { getWorldMatrix, SceneGraph, TransformMatrix } from '@open-pencil/scene-graph'
function pageId(graph: SceneGraph) {
return graph.getPages()[0].id