ant-design-vue icon indicating copy to clipboard operation
ant-design-vue copied to clipboard

'elementsContains' function contains test code

Open gaokun opened this issue 1 year ago • 1 comments
trafficstars

  • [x] I have searched the issues of this repository and believe that this is not a duplicate.

Version

4.2.1

Environment

github

Reproduction link

https://github.com/vueComponent/ant-design-vue/blob/1c82940160a804cbaaf393064314674b555153b8/components/vc-picker/utils/uiUtil.ts#L275

Steps to reproduce

  1. wrap component with antdv
  2. run unit test with testing library

What is expected?

elementsContains return as is

What is actually happening?

elementsContains always return false for unit test


image

gaokun avatar May 10 '24 10:05 gaokun

This only impacts unit test case.

Please help to look into those lines: image

gaokun avatar May 10 '24 10:05 gaokun

This issue is stale because it has been open 60 days with no activity. Remove stale label or comment or this will be closed in 7 days

github-actions[bot] avatar Jul 10 '24 02:07 github-actions[bot]