feat: add updateSchema to form api #731
Annotations
3 errors
packages/@core/ui-kit/form-ui/__tests__/form-api.test.ts > updateSchema > should log an error if fieldName is missing in some items:
packages/@core/ui-kit/form-ui/__tests__/form-api.test.ts#L185
AssertionError: expected "error" to be called with arguments: [ Array(1) ]
Received:
1st error call:
Array [
- "All children of the form Schema array that need to be updated must contain the `field` field",
+ "All items in the schema array must have a valid `fieldName` property to be updated",
]
Number of calls: 1
❯ packages/@core/ui-kit/form-ui/__tests__/form-api.test.ts:185:29
|
Test (ubuntu-latest)
Process completed with exit code 1.
|
Test (windows-latest)
The job was canceled because "ubuntu-latest" failed.
|