Commit 16c5e53
test: add schema-driven infrastructure tests for ViewConfigPanel
Add view-config-schema.test.tsx covering:
- normalizeFieldType: all field type normalizations
- parseSpecFilter: all filter parsing formats (triplet, and/or, nested, object)
- toSpecFilter: filter conversion back to spec format
- parseCommaSeparated / parseNumberList: basic parsing
- deriveFieldOptions: field options from objectDef
- toFilterGroup / toSortItems: bridge functions
- Operator mapping constants
- buildViewConfigSchema: schema structure, sections, collapsible flags
- visibleWhen predicates for navigation and sharing fields
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent d7ab136 commit 16c5e53
1 file changed
Lines changed: 527 additions & 0 deletions
0 commit comments