* Helper to serialize a condition for comparison
(condition: unknown)
| 891 | * Helper to serialize a condition for comparison |
| 892 | */ |
| 893 | function serializeCondition(condition: unknown): string { |
| 894 | if (!condition) return '' |
| 895 | return JSON.stringify(condition) |
| 896 | } |
| 897 | |
| 898 | it('should not have canonicalParamId that matches any subBlock id within the same block', () => { |
| 899 | const blocks = getAllBlocks() |