mirror of
https://github.com/stan-smith/FossFLOW.git
synced 2025-12-24 15:09:03 -05:00
fix: failing test
This commit is contained in:
2
src/tests/fixtures/scene.ts
vendored
2
src/tests/fixtures/scene.ts
vendored
@@ -50,5 +50,5 @@ export const scene: SceneInput = {
|
||||
{ id: 'connector1', label: 'Connector1', from: 'node1', to: 'node2' },
|
||||
{ id: 'connector2', label: 'Connector2', from: 'node2', to: 'node3' }
|
||||
],
|
||||
groups: [{ id: 'group1', label: 'Group1', nodes: ['node1', 'node2'] }]
|
||||
groups: [{ id: 'group1', label: 'Group1', nodeIds: ['node1', 'node2'] }]
|
||||
};
|
||||
|
||||
@@ -54,10 +54,10 @@ describe('scene validation works correctly', () => {
|
||||
|
||||
test('finds invalid groups in scene', () => {
|
||||
const { nodes } = scene;
|
||||
const invalidGroup = {
|
||||
const invalidGroup: GroupInput = {
|
||||
id: 'invalidGroup',
|
||||
label: null,
|
||||
nodes: ['invalidNode', 'node1']
|
||||
nodeIds: ['invalidNode', 'node1']
|
||||
};
|
||||
const groups: GroupInput[] = [...scene.groups, invalidGroup];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user