flowgram.ai/packages/variable-engine/variable-layout/__tests__/variable-fix-layout-group.test.ts
Yiwei Mao 311180b2c8
chore: hide useless api in variable engine (#180)
* chore: hide useless api in variable engine

* fix: variable-core mock chain ts check
2025-04-27 03:54:53 +00:00

40 lines
675 B
TypeScript

import { runFixedLayoutTest } from '../__mocks__/run-fixed-layout-test';
runFixedLayoutTest(
'Variable Fix Layout Group',
{
nodes: [
{
id: 'start_0',
type: 'start',
meta: {
isStart: true,
},
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: [],
},
],
},
{}
);