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

CodeRabbit found the RotatedPlain control node was created on
instead of , so the unstroked control assertion was not actually
validating the same setup without a stroke.
This commit is contained in:
Joseph Cumines 2026-06-19 11:47:37 +10:00
parent ad22513bc7
commit 99e4153ec5

View file

@ -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,