fix: update test to match restored selectItems call in multi-image branch

This commit is contained in:
bymyself
2026-03-15 05:01:05 +00:00
parent 93bb2d0d6f
commit 80a4b31da4

View File

@@ -106,7 +106,11 @@ describe('ComfyApp', () => {
expect(createNode).toHaveBeenCalledWith(mockCanvas, 'BatchImagesNode')
expect(mockNode1.connect).toHaveBeenCalledWith(0, mockBatchNode, 0)
expect(mockNode2.connect).toHaveBeenCalledWith(0, mockBatchNode, 1)
expect(mockCanvas.selectItems).not.toHaveBeenCalled()
expect(mockCanvas.selectItems).toHaveBeenCalledWith([
mockNode1,
mockNode2,
mockBatchNode
])
})
it('should select single image node without batch node', async () => {