- Move clipboard.test.ts into focused import, bounds, HTML encoding, and fixture roundtrip files - Add a shared clipboard graph helper for import tests - Preserve all 29 clipboard tests after the split
8 lines
228 B
TypeScript
8 lines
228 B
TypeScript
import { SceneGraph } from '@open-pencil/core'
|
|
|
|
export function createClipboardGraph(): { graph: SceneGraph; pageId: string } {
|
|
const graph = new SceneGraph()
|
|
graph.addPage('Test')
|
|
return { graph, pageId: graph.rootId }
|
|
}
|