Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

'elementsContains' function contains test code #7565

Open
1 task done
gaokun opened this issue May 10, 2024 · 1 comment
Open
1 task done

'elementsContains' function contains test code #7565

gaokun opened this issue May 10, 2024 · 1 comment

Comments

@gaokun
Copy link
Contributor

gaokun commented May 10, 2024

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

Version

4.2.1

Environment

github

Reproduction link

if (process.env.NODE_ENV === 'test') {

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
Copy link
Contributor Author

gaokun commented May 10, 2024

This only impacts unit test case.

Please help to look into those lines:
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant