Skip to content

Commit 88a7991

Browse files
committed
fix failing test
1 parent ec0d6db commit 88a7991

File tree

1 file changed

+0
-13
lines changed

1 file changed

+0
-13
lines changed

apps/sim/stores/workflows/workflow/store.test.ts

Lines changed: 0 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -297,19 +297,6 @@ describe('workflow store', () => {
297297
expectEdgeConnects(edges, 'block-1', 'block-2')
298298
})
299299

300-
it('should not add duplicate edges', () => {
301-
const { addBlock, batchAddEdges } = useWorkflowStore.getState()
302-
303-
addBlock('block-1', 'starter', 'Start', { x: 0, y: 0 })
304-
addBlock('block-2', 'function', 'End', { x: 200, y: 0 })
305-
306-
batchAddEdges([{ id: 'e1', source: 'block-1', target: 'block-2' }])
307-
batchAddEdges([{ id: 'e2', source: 'block-1', target: 'block-2' }])
308-
309-
const state = useWorkflowStore.getState()
310-
expectEdgeCount(state, 1)
311-
})
312-
313300
it('should prevent self-referencing edges', () => {
314301
const { addBlock, batchAddEdges } = useWorkflowStore.getState()
315302

0 commit comments

Comments
 (0)