fix(admin): restore suite after colorpicker and codeeditor registration
- Expect colorpicker/codeeditor as registered controls; use notatype for unsupported cases - Seed DatePicker placeholder from the model value so the calendar opens on that month - Make CodeEditor chunk-failure mock reject the dynamic import Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
@@ -55,7 +55,9 @@ describe('form state helpers', () => {
|
||||
active: false,
|
||||
unknown_key: 'x',
|
||||
})
|
||||
expect(body).toEqual({ name: 'Blue', tags: [3], active: false })
|
||||
// colorpicker is a registered control (Phase 35); owner is read-only and
|
||||
// members is a relation manager (not sent here).
|
||||
expect(body).toEqual({ name: 'Blue', color: '#fff', tags: [3], active: false })
|
||||
})
|
||||
|
||||
it('never sends widget or partial fields, even with a value under their name', () => {
|
||||
|
||||
Reference in New Issue
Block a user