Actually test that widget names aren't equal

This commit is contained in:
Austin Mroz
2025-09-16 14:41:59 -05:00
parent b287bb645b
commit 26a9527d23

View File

@@ -65,6 +65,9 @@ describe('Subgraph proxyWidgets', () => {
['2', 'stringWidget']
])
expect(subgraphNode.widgets.length).toBe(2)
expect(subgraphNode.widgets[0].name).not.toEqual(
subgraphNode.widgets[1].name
)
})
test('Will not modify existing widgets', () => {
const [subgraphNode, innerNodes] = setupSubgraph(1)