Skip to content

feat: add updateSchema to form api (#4453) #732

feat: add updateSchema to form api (#4453)

feat: add updateSchema to form api (#4453) #732

Triggered via push September 21, 2024 03:26
Status Failure
Total duration 4m 40s
Artifacts

ci.yml

on: push
Matrix: Check
Matrix: Lint
Matrix: Test
Fit to window
Zoom out
Zoom in

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.