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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

[馃悰 Bug]: Component tests started to fail: Cannot read properties of undefined (reading '0') #9801

Closed
3 tasks done
christian-bromann opened this issue Feb 20, 2023 · 3 comments
Assignees

Comments

@christian-bromann
Copy link
Member

Have you read the Contributing Guidelines on issues?

WebdriverIO Version

latest

Node.js Version

latest

Mode

WDIO Testrunner

Which capabilities are you using?

any

What happened?

With the recent dependency updates, all component tests started to fail with the following message:

 Error:  Test failed due to the following error: [plugin:vite:istanbul] /component-testing-examples/create-react-app/src/App.jsx: Cannot read properties of undefined (reading '0')
/component-testing-examples/create-react-app/src/App.jsx

What is your expected behavior?

passing tests

How to reproduce the bug.

run component test examples with latest version.

Relevant log output

n/a

Code of Conduct

  • I agree to follow this project's Code of Conduct

Is there an existing issue for this?

  • I have searched the existing issues
@christian-bromann
Copy link
Member Author

As a temporary workaround just disable test coverage reporting for now until this is fixed.

@christian-bromann
Copy link
Member Author

Update: seems like the Babel team is aware of this issue and already addressed this, see babel/babel#15444

@christian-bromann
Copy link
Member Author

Issue got resolved by the Babel team, we can close this now.

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

No branches or pull requests

1 participant