mirror of
https://gitee.com/ByteDance/flowgram.ai.git
synced 2025-07-07 17:43:29 +08:00
* chore: add license-header * chore: add precommit * chore: add license header * fix: only js & shell style
14 lines
396 B
TypeScript
14 lines
396 B
TypeScript
/**
|
|
* Copyright (c) 2025 Bytedance Ltd. and/or its affiliates
|
|
* SPDX-License-Identifier: MIT
|
|
*/
|
|
|
|
import { runFixedLayoutTest } from '../__mocks__/run-fixed-layout-test';
|
|
import { fixLayout1 } from '../__mocks__/fixed-layout-specs';
|
|
|
|
runFixedLayoutTest('Variable Fix Layout', fixLayout1, {
|
|
isNodeChildrenPrivate: (node) =>
|
|
// 只有循环是 private
|
|
node.flowNodeType === 'loop',
|
|
});
|