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
bug(tests): docgen.parse #24487
Comments
Hi there, @muescha! Could you add some more detail about how to reproduce the test failures you're seeing? Which directory are you in? |
i am in main directory and running add the tests with (Note: I do |
It happens because I would say to fix this we should update react-docgen dependency to gatsby/packages/gatsby-transformer-react-docgen/src/__tests__/displayname-handler.js Line 34 in 317aa65
Every entry like this should be changed to class MyComponent extends React.Component { static displayName = 'foo'; render() {} } P.S. A PR with the fix is very welcome! |
thanks for the guide :) i start to work on a PR |
i created an PR:
|
Fixed via #24788 |
Description
i have 2 tests failing.
Steps to reproduce
yarn test
note: since i get errors when installing with
yarn.lock
i delete it always beforeyarn run bootstrap
Expected result
no error
Actual result
Environment
Run
gatsby info --clipboard
in your project directory and paste the output here:The text was updated successfully, but these errors were encountered: