flowgram.ai/packages/variable-engine/variable-layout/__tests__/variable-fix-layout-group.test.ts
dragooncjw d7bdf8a078 feat: init flowgram.ai
Co-Authored-By: xiamidaxia <xiamidaxia@icloud.com>
2025-02-21 16:26:12 +08:00

39 lines
652 B
TypeScript

import { runFixedLayoutTest } from '../__mocks__/run-fixed-layout-test';
runFixedLayoutTest(
'Variable Fix Layout Group',
{
nodes: [
{
id: 'start_0',
type: 'start',
blocks: [],
},
{
id: '$group_test$',
type: 'block',
blocks: [
{
id: 'node_0',
type: 'noop',
blocks: [],
},
{
id: 'node_1',
type: 'noop',
blocks: [],
},
],
},
{
id: 'end_0',
type: 'end',
blocks: [],
},
],
},
{
startNodeId: 'start',
}
);