Skip to content

fix(vant-compat): [Field] Fix the false positive empty value when the value is boolean false #11716

fix(vant-compat): [Field] Fix the false positive empty value when the value is boolean false

fix(vant-compat): [Field] Fix the false positive empty value when the value is boolean false #11716

Triggered via pull request June 21, 2024 05:38
Status Failure
Total duration 1m 35s
Artifacts

test.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors
src/form/test/field-type.spec.tsx > should allow to use Switch as a form item: packages/vant/src/form/test/field-type.spec.tsx#L47
AssertionError: expected "spy" to be called with arguments: [ { errors: [ { …(2) } ], …(1) } ] Received: Number of calls: 0 ❯ src/form/test/field-type.spec.tsx:47:20
src/form/test/field-type.spec.tsx > should allow to use Checkbox as a form item: packages/vant/src/form/test/field-type.spec.tsx#L65
AssertionError: expected "spy" to be called with arguments: [ { errors: [ { …(2) } ], …(1) } ] Received: Number of calls: 0 ❯ src/form/test/field-type.spec.tsx:65:20
test
Process completed with exit code 1.