Skip to content

feat: add updateSchema to form api #731

feat: add updateSchema to form api

feat: add updateSchema to form api #731

Triggered via pull request September 21, 2024 03:25
@anncwbanncwb
synchronize #4453
feature/4447
Status Failure
Total duration 4m 8s
Artifacts

ci.yml

on: pull_request
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.