Closed boaz0 closed 4 years ago
cc @redallen @evwilkin
@boaz0 I believe this is a jest issue on your end, probably because you're using import { DataToolbar } from '@patternfly/react-core/dist/esm/experimental
after upgrading to our latest release which did away with experimental. Try import { DataToolbar } from '@patternfly/react-core';
instead.
If this doesn't work, I can take some time to help debug inside your product.
Thanks @redallen - I will test this today and close if it fixes the problem. Thanks :)
Fixed - thanks
Describe the issue. What is the expected and unexpected behavior? I can not run tests on components that use PF4 Datatoolbar (it doesn't matter if I'm using
enzyme
or@testing-library/react
I get this error message:Please provide the steps to reproduce. Feel free to link CodeSandbox or another tool.
Is this a bug or enhancement? If this issue is a bug, is this issue blocking you or is there a work-around?
This is a bug and consider this as blocking - because I cannot test my code.
What is your product and what release version are you targeting? Product: Cost management patternfly/react-core v3.140.11