Skip to content

AI-native design editor. Open-source Figma alternative.

test(tools): create control-case node on the plain graph

Joseph Cumines99e4153ec592
diff --git a/tests/engine/tools/analyze/overlaps/bounds.test.ts b/tests/engine/tools/analyze/overlaps/bounds.test.ts
index c08cc9381..5a753513a 100644
--- a/tests/engine/tools/analyze/overlaps/bounds.test.ts
+++ b/tests/engine/tools/analyze/overlaps/bounds.test.ts
@@ -222,7 +222,7 @@ describe('analyze overlaps visible bounds', () => {
// into the gap is caused by the stroked bounds, not the raw node box.
const plain = new SceneGraph()
const plainPage = pageId(plain)
- graph.createNode('RECTANGLE', plainPage, {
+ plain.createNode('RECTANGLE', plainPage, {
name: 'RotatedPlain',
x: 45,
y: 45,